
Location picker dialog boxes
You can enable users to choose a location from a list that you define, by using the LocationPicker class that is provided in
the net.rim.device.api.lbs.picker package to create a location picker dialog box. For example, you can enable users
to choose their current GPS location or a previous location.
To download a sample application that demonstrates how to use location pickers, visit www.blackberry.com/go/
locationpickersample. For more information about location pickers, see the API reference for the BlackBerry® Java® Development
Environment.
Screen transitions
You can apply a visual effect that appears when your application opens or closes a screen on a BlackBerry® device by using the
TransitionContext class in the net.rim.device.api.ui package. For example, you can reveal a new screen that
your application opens by sliding it onto the display on the device. After you create a screen transition, you must register it within
your application, specify the outgoing and incoming screens, the events that cause the transition to occur, and the transition to
display using methods available in the UiEngineInstance class.
Note: The theme on the BlackBerry device controls the visual effects that display when a user opens an application. For more
information, see the BlackBerry Theme Studio User Guide.
To download a sample application that demonstrates how to use screen transitions, visit www.blackberry.com/go/
screentransitionssample. For more information on screen transitions, see the BlackBerry Java Application UI and Navigation
Development Guide and the API reference for the BlackBerry® Java® Development Environment.
Feature and Technical Overview
Screen and UI
8
Commentaires sur ces manuels