Blackberry JAVA DEVELOPMENT ENVIRONMENT - - GPS AND MAPS - DEVELOPMENT GUIDE Manual de usuario Pagina 6

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 33
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 5
New in this release
2
Screen and UI
Autocomplete text field
You can help users to type data more quickly, by using the AutoCompleteField class that is provided in the
net.rim.device.api.ui.component package to create an autocomplete text field. You can display the autocomplete
text field on the screen of the BlackBerry® device. As the user types in the field, the autocomplete text field searches against a
set of data and displays items that match what the user typed. You can specify the data that the typed string is compared against.
The data can be a set of literal strings or specified fields from a support data source on the BlackBerry device.
For example, you can create an autocomplete text field that enables a user to quickly type a contact's name by typing part of the
name or birthday of the contact that is available on the BlackBerry device. You can specify the words or phrases to display to the
user as the matches occur. For example, you can display the name, phone number, and email address of contacts in the returned
results.
To download a sample application that demonstrates how to use autocomplete text fields, visit www.blackberry.com/go/
autocompletefieldsample. For more information about autocomplete text fields, see the BlackBerry Java Application UI and
Navigation Development Guide and the API reference for the BlackBerry® Java® Development Environment.
Fields that appear temporarily on a screen
You can display fields on a pair of temporary managers that appear on the top and bottom of a screen by using the
EyelidFieldManager class that is provided in the net.rim.device.api.ui.extension.container package.
For example, when users view an image, you can display a description of the image along the top or bottom of the screen. You
can define the amount of time that the information appears on a screen.
By default, the fields appear when the user moves the trackball or, on a BlackBerry® device with a touch screen, when the user
touches the screen. The fields disappear after a period of inactivity.
Feature and Technical Overview
New in this release
4
Vista de pagina 5
1 2 3 4 5 6 7 8 9 10 11 ... 32 33

Comentarios a estos manuales

Sin comentarios