
Date and time picker dialog boxes
You can enable users to choose a day, month, year, or time, by using the DateTimePicker class that is provided in the
net.rim.device.api.ui.picker package to create a date and time picker dialog box. For example, you can enable users
to choose a month and a year to specify the expiry date for a credit card.
To download a sample application that demonstrates how to use date and time pickers, visit www.blackberry.com/go/
spinnersample. For more information about date and time pickers, see the BlackBerry Java Application UI and Navigation
Development Guide and the API reference for the BlackBerry® Java® Development Environment.
Related topics
Spin box, 9
File picker
You can enable users to navigate to the files on a BlackBerry® device, by using the
net.rim.device.api.ui.picker.FilePicker class to create a file picker. For example, you can enable users to search
for a song on the BlackBerry device or on a media card.
To download a sample application that demonstrates how to use file pickers, visit www.blackberry.com/go/filepickersample. For
more information about file pickers, 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
7
Komentáře k této Příručce