SHOW Signed
 

net.rim.blackberry.api.invoke
Class AddressBookArguments

java.lang.Object
  |
  +--net.rim.blackberry.api.invoke.ApplicationArguments
        |
        +--net.rim.blackberry.api.invoke.AddressBookArguments

public final class AddressBookArguments
extends ApplicationArguments

Encapsulates arguments to pass to the Address Book application.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

Since:
JDE 4.0.0

Field Summary
 Category: Signed static String ARG_COMPOSE
          Argument to open the address book in its compose window.
 Category: Signed static String ARG_NEW
          Argument to open the address book and create a new address card.
   
Constructor Summary
 Category: Signed AddressBookArguments()
          Creates a new AddressBookArguments instance with default arguments.
 Category: Signed AddressBookArguments(String arg)
          Creates a new AddressBookArguments instance with provided arguments.
 Category: Signed AddressBookArguments(String arg, Contact contact)
          Creates a new AddressBookArguments instance with the provided arguments
 
Method Summary
 Category: Signed protected  Contact getContactArg()
          Retrieves the contact reference passed in from constructor AddressBookArguments(String, Contact)
 
Methods inherited from class net.rim.blackberry.api.invoke.ApplicationArguments
getArgs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARG_COMPOSE

public static final String ARG_COMPOSE
Argument to open the address book in its compose window.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

ARG_NEW

public static final String ARG_NEW
Argument to open the address book and create a new address card.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Constructor Detail

AddressBookArguments

public AddressBookArguments()
Creates a new AddressBookArguments instance with default arguments.

The default arguments instruct the Address Book to open in the default (search list) view.

Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

AddressBookArguments

public AddressBookArguments(String arg)
Creates a new AddressBookArguments instance with provided arguments.
Parameters:
arg - Specify ARG_COMPOSE to open the address book ready to compose a message. Specify ARG_NEW to open the address book ready to create a new address.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

AddressBookArguments

public AddressBookArguments(String arg,
                            Contact contact)
Creates a new AddressBookArguments instance with the provided arguments
Parameters:
arg - Specify ARG_NEW to open the address book to create a new address.
contact - A javax.microedition.pim.Contact object used to populate information for the new address
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Method Detail

getContactArg

protected Contact getContactArg()
Retrieves the contact reference passed in from constructor AddressBookArguments(String, Contact)
Returns:
The contact that was passed in from constructor
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.