
Image creation
You can add an image to your application from a bitmap or an encoded image by using the Image API that is provided in the
net.rim.device.api.ui.image package. For example, you can use an Image as an icon in a menu item.
For more information about the Image API, see the API reference for the BlackBerry® Java® Development Environment.
Menu customization
You can customize a menu in your BlackBerry® device application.
Customization Description
background, border, and font You can specify a custom background, border, and font for a menu in your application
by using the Menu.setBackground, Menu.setBorder, and
Menu.setFont methods in the net.rim.device.api.ui.component
package.
menu icons You can add an icon to a menu item in your BlackBerry device application by using
the MenuItem.setIcon method in the net.rim.device.api.ui package.
To download a sample application that demonstrates how to customize a menu, visit www.blackberry.com/go/menusample. For
more information on customizing menus, see the BlackBerry Java Application UI and Navigation Development Guide and the
API reference for the BlackBerry® Java® Development Environment.
Picker dialog boxes
You can use picker dialog boxes to help users choose an item from a list.
Feature and Technical Overview
Screen and UI
6
Komentáře k této Příručce