Help Center

Local Navigation

Adding custom menu items

A BlackBerry® Java® Application can add custom menu items to the menu on the BlackBerry device for the email, organizer, and phone applications. When a BlackBerry device user selects the custom menu item, theBlackBerry Java Application starts with a reference to the object that the BlackBerry device user selects. For example, a BlackBerry Java Application can add a menu item called Show Location of Sender to the email application. When the BlackBerry device user selects the menu item, the BlackBerry Java Application starts with a reference to the email object that is currently highlighted or that the user opens. The BlackBerry Java Application uses the email address of the sender to determine the location of the sender by retrieving the email address from the contact list, or by retrieving data from a remote server, and then comes to the foreground and displays a map.

Index


Was this information helpful? Send us your comments.