net.rim.blackberry.api.invoke
Class MemoArguments
java.lang.Object
net.rim.blackberry.api.invoke.ApplicationArguments
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 |
|
static String |
ARG_EDIT
Use this argument to open the Memo Pad application to edit an existing memo. |
|
static String |
ARG_NEW
Use this argument to open the Memo Pad application to create a new memo. |
|
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. |
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
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-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal