Blackberry JAVA DEVELOPMENT ENVIRONMENT - - GPS AND MAPS - DEVELOPMENT GUIDE Instrukcja Użytkownika Strona 27

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 30
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 26
1 2 ... 22 23 24 25 26 27 28 29 30

Komentarze do niniejszej Instrukcji

Brak uwag