Adding a menu item to a BlackBerry Device Software application

You can add a menu item to a BlackBerry® Device Software application by using the Menu Item API in the net.rim.blackberry.api.menuitem package. For example, you can add a menu item called View Sales Order to the contacts application on a BlackBerry device so that when a user clicks the menu item, a CRM application opens and displays a list of sales orders for that contact.

The ApplicationMenuItemRepository class provides the constants that specify the BlackBerry Device Software application that your menu item should appear in. For example, the MENUITEM_MESSAGE_LIST constant specifies that the menu item should appear in the messages application.


Was this information helpful? Send us your comments.