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.

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.

MENUITEM_ADDRESSCARD_EDIT

public static final long MENUITEM_ADDRESSCARD_EDIT

ApplicationMenuItem instances registered with this ID appear
when an address card is open in edit mode.

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.

MENUITEM_ADDRESSCARD_VIEW

public static final long MENUITEM_ADDRESSCARD_VIEW

ApplicationMenuItem instances registered with this ID appear
when an address card is open in view mode.

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.

MENUITEM_ALARM

public static final long MENUITEM_ALARM

ApplicationMenuItem instances registered with this ID appear
when the alarm application is running.

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.

MENUITEM_BROWSER

public static final long MENUITEM_BROWSER

ApplicationMenuItem instances registered with this ID appear
when the browser application is running.

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.

MENUITEM_CALENDAR

public static final long MENUITEM_CALENDAR

ApplicationMenuItem instances registered with this ID appear
when the calendar is open in view mode.

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.

MENUITEM_CALENDAR_EVENT

public static final long MENUITEM_CALENDAR_EVENT

ApplicationMenuItem instances registered with this ID appear
when a calendar event is open in view/edit mode.

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.

MENUITEM_EMAIL_EDIT

public static final long MENUITEM_EMAIL_EDIT

ApplicationMenuItem instances registered with this ID appear
when the email application is open in edit mode.

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.

MENUITEM_EMAIL_VIEW

public static final long MENUITEM_EMAIL_VIEW

ApplicationMenuItem instances registered with this ID appear
when the email application is open in view mode.

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.

MENUITEM_FILE_EXPLORER

public static final long MENUITEM_FILE_EXPLORER

ApplicationMenuItem instances registered with this ID appear when the File Explorer applicaion
is running. If you use this ID, you must also provide an ApplicationDescriptor that describes
your application. Your application will be started to run the code in the ApplicationMenuItem.run()
method. You may also register a mime type String with your menu item as the context parameter. If you do, your menu item will only appear
when a file matching the registered mime type is in focus or being viewed.

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.

MENUITEM_FILE_EXPLORER_BROWSE

public static final long MENUITEM_FILE_EXPLORER_BROWSE

ApplicationMenuItem instances registered with this ID appear when the File Explorer applicaion
is running in the browse view. If you use this ID, you must also provide an ApplicationDescriptor that describes
your application. Your application will be started to run the code in the ApplicationMenuItem.run()
method. You may also register a mime type String with your menu item as the context parameter. If you do, your menu item will only appear
when a file matching the registered mime type is in focus.

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.

MENUITEM_FILE_EXPLORER_ITEM

public static final long MENUITEM_FILE_EXPLORER_ITEM

ApplicationMenuItem instances registered with this ID appear when the File Explorer applicaion
is running and rendering a file. If you use this ID, you must also provide an ApplicationDescriptor that describes
your application. Your application will be started to run the code in the ApplicationMenuItem.run()
method. You may also register a mime type String with your menu item as the context parameter. If you do, your menu item will only appear
when a file matching the registered mime type is being viewed.

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.

MENUITEM_GROUPADDRESS_EDIT

public static final long MENUITEM_GROUPADDRESS_EDIT

ApplicationMenuItem instances registered with this ID appear
when a group address entry is opened for edit.

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.

MENUITEM_GROUPADDRESS_VIEW

public static final long MENUITEM_GROUPADDRESS_VIEW

ApplicationMenuItem instances registered with this ID appear
when a group address entry is opened for viewing.

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.

MENUITEM_MAPS

public static final long MENUITEM_MAPS

ApplicationMenuItem instances registered with this ID appear
when the maps application is running. An ApplicationDescriptor is required for this ID in addMenuItem() method

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.

MENUITEM_MEMO_EDIT

public static final long MENUITEM_MEMO_EDIT

ApplicationMenuItem instances registered with this ID appear
when a memo is opened for editing.

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.

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.

MENUITEM_MEMO_VIEW

public static final long MENUITEM_MEMO_VIEW

ApplicationMenuItem instances registered with this ID appear
when a memo is opened for viewing.

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.

MENUITEM_MESSAGE_LIST

public static final long MENUITEM_MESSAGE_LIST

ApplicationMenuItem instances registered with this ID appear
when the message list is displayed.

The ApplicationMenuItem.run(Object)
method is passed a Message instance
or a TextMessage instance when
an application menu item is invoked in this context. If the selected message is a MMS message,
a MultipartMessage instance will be passed instead.

Since:

JDE 3.6.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.

MENUITEM_MMS_EDIT

public static final long MENUITEM_MMS_EDIT

ApplicationMenuItem instances registered with this ID appear
when the MMS application is open in edit mode.

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.

MENUITEM_MMS_VIEW

public static final long MENUITEM_MMS_VIEW

ApplicationMenuItem instances registered with this ID appear
when the MMS application is open in view mode.

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.

MENUITEM_PHONE

public static final long MENUITEM_PHONE

ApplicationMenuItem instances registered with this ID appear
when the phone application is running.

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.

MENUITEM_PHONELOG_VIEW

public static final long MENUITEM_PHONELOG_VIEW

ApplicationMenuItem instances registered with this ID appear
when a call log is opened for viewing.

The ApplicationMenuItem.run(Object)
method is passed a net.rim.blackberry.api.phone.phonelogs.PhoneLog instance when
an application menu item is invoked in this context.

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.

MENUITEM_SEARCH

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.

MENUITEM_SMS_EDIT

public static final long MENUITEM_SMS_EDIT

ApplicationMenuItem instances registered with this ID appear
when the SMS application is open in edit mode.

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.

MENUITEM_SMS_VIEW

public static final long MENUITEM_SMS_VIEW

ApplicationMenuItem instances registered with this ID appear
when the SMS application is open in view mode.

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.

MENUITEM_SYSTEM

public static final long MENUITEM_SYSTEM

ApplicationMenuItem instances registered with this ID appear
on most application menus (a system wide setting).

The ApplicationMenuItem.run(Object)
method is passed a context object that is appropriate to the application from
which the application menu item is invoked. For example, if it is invoked in
the mail application, the context object is a Message
instance.

Since:

JDE 3.6.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.

MENUITEM_TASK_EDIT

public static final long MENUITEM_TASK_EDIT

ApplicationMenuItem instances registered with this ID appear
when a task is opened in view/edit mode.

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.

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.

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.

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.

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.

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.

removeMenuItem

item - The menu item to be removed; if null then this method
immediately returns false without doing anything.

Returns:

true if the menu item was removed, false otherwise.

Since:

JDE 3.6.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.