Blackberry JAVA DEVELOPMENT ENVIRONMENT - - GPS AND MAPS - DEVELOPMENT GUIDE Manuel d'utilisateur Page 27

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 30
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 26
For RIM and BlackBerry partner use only. Beta documentation. Content and software are subject to change.
27
3: Displaying location information on a BlackBerry device
Setting the display size of a map in your application
A BlackBerry® Application can control the size of a MapField on the display screen. For example, the application
can change the size of a
MapField to make other UI components visible on the screen of a BlackBerry device.
If you set the preferred size of MapField, you override the dimension values passed in layout(). The height and
width values are in pixels.
Set the display size of a MapField
>Invoke setPreferredSize(int preferredWidth, int preferredHeight).
To view complete code samples for the BlackBerry® Java Development Environment, visit www.blackberry.com.
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30

Commentaires sur ces manuels

Pas de commentaire