net.rim.blackberry.api.invoke
Class MemoArguments

java.lang.Object
  extended by net.rim.blackberry.api.invoke.ApplicationArguments
      extended by net.rim.blackberry.api.invoke.MemoArguments

public final class MemoArguments
extends ApplicationArguments

Encapsulates arguments to pass to the Memo Pad 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:
BlackBerry API 4.0.0

Field Summary
Category: Signed static String ARG_EDIT
          Use this argument to open the Memo Pad application to edit an existing memo.
Category: Signed static String ARG_NEW
          Use this argument to open the Memo Pad application to create a new memo.
Category: Signed static String ARG_VIEW
          Deprecated. The Memo Pad application no longer has a separate "View" screen. Use the MemoArguments.ARG_EDIT constant to view a memo instead.
 
Constructor Summary
Category: Signed MemoArguments()
          Creates a MemoArguments instance.
Category: Signed MemoArguments(String arg)
          Creates a MemoArguments instance.
Category: Signed MemoArguments(String arg, BlackBerryMemo memo)
          Creates a MemoArguments instance.
 
Method Summary
 
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_NEW

public static final String ARG_NEW
Use this argument to open the Memo Pad application to create a new memo.

See Also:
Constant Field Values
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:
BlackBerry API 4.2.0

ARG_VIEW

public static final String ARG_VIEW
Deprecated. The Memo Pad application no longer has a separate "View" screen. Use the MemoArguments.ARG_EDIT constant to view a memo instead.
Use this argument to open the Memo Pad application to view an existing memo.

See Also:
Constant Field Values
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:
BlackBerry API 4.2.0

ARG_EDIT

public static final String ARG_EDIT
Use this argument to open the Memo Pad application to edit an existing memo.

See Also:
Constant Field Values
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:
BlackBerry API 4.2.0


Constructor Detail

MemoArguments

public MemoArguments()
Creates a MemoArguments instance. A MemoArguments object created with this constructor instructs the Memo Pad application to open the default view.

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:
BlackBerry API 4.0.0

MemoArguments

public MemoArguments(String arg)
Creates a MemoArguments instance. A MemoArguments object created with this constructor instructs the Memo Pad application to create a new memo.

Parameters:
arg - Specify ARG_NEW to open the Memo Pad application to create a new memo.
Throws:
IllegalArgumentException - If an argument other than ARG_NEW is used.
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:
BlackBerry API 4.2.0

MemoArguments

public MemoArguments(String arg,
                     BlackBerryMemo memo)
Creates a MemoArguments instance. A MemoArguments object created with this constructor instructs the Memo Pad application to create a new memo, or edit/view an existing memo.

Parameters:
arg - One of ARG_NEW, ARG_VIEW or ARG_EDIT, depending on what you would like to invoke the Memo Pad application to do.
memo - If arg is ARG_VIEW or ARG_EDIT, provide an existing, committed memo retrieved from the BlackBerryMemoList. If arg is ARG_NEW, provide a new, uncommitted BlackBerryMemo, or specify null to have one created for you by the Memo Pad application.
Throws:
IllegalArgumentException - if arg is not one of ARG_NEW, ARG_VIEW, or ARG_EDIT.
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:
BlackBerry API 4.2.0





Copyright 1999-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.