Pickers
You can use pickers to help users choose an item from a list
easily.
|
Type of picker
|
Description
|
|
File
|
This picker allows users to browse for files on their
BlackBerry® devices.
|
|
Location
|
This picker allows users to choose a location from a list that
you define. For example, you can allow users to choose their GPS location or a
previously selected location.
|
|
Date
|
This picker allows users to choose a specific day, month, or
year. For example, you can allow users to choose a month and year to specify
when their credit card expires.
|
|
Time
|
This picker allows users to choose a specific hour, minute, or
second.
|
Best practice: Implementing pickers
Use the FilePicker, LocationPicker, and DateTimePicker
classes to create pickers. For more information about creating pickers, see the API reference for the BlackBerry® Java® SDK and the BlackBerry
Java Application UI Quick Reference Guide.
Guidelines for file pickers
- Specify a
specific view to display the types of files that match the user's
goal. For example, if a user is browsing pictures, display pictures
in the file picker.
- Allow users to start browsing from an appropriate
default folder if possible.
Was this information helpful? Send us your comments.