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

  • 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 6
1
Using location information in a BlackBerry
device application
Getting and using GPS location information in a BlackBerry
device application
On a BlackBerry® device that supports Global Positioning System (GPS) technology, you can use a BlackBerry®
Java® Application to display the current latitudinal and longitudinal position of a BlackBerry device. Depending
on the location mode that you specify, the BlackBerry Application can also display information such as the speed
and route information.
The BlackBerry Application uses the Location API for Java® Platform, Micro Edition (Java ME) of the
javax.microedition.location package (JSR 179) to get location information.
The time it takes to retrieve the location of the BlackBerry device for the first time depends on several factors, such
as the location mode and the GPS signal strength. In autonomous mode, typical times are less than 2 minutes. In
assisted mode, typical times are less than 30 seconds.
For a BlackBerry Application on a BlackBerry device that operates on GPS networks to retrieve GPS location
information, a valid SIM card must be inserted in the BlackBerry device. For more information about APIs and
GPS, see the Developer Journals on the BlackBerry Developer Zone at www.blackberry.com/developers.
See
“Modes for getting GPS location information” on page 9 for more information about using a mode to get location
information.
Using BlackBerry Maps location information in a BlackBerry
device application
BlackBerry® Maps is a map and location client application that can display a map for a location, the location of the
BlackBerry device, a route from a starting location to a specific ending location, and points of interest on a map.
A BlackBerry Application can use BlackBerry Maps in the following two ways:
start BlackBerry Maps from a BlackBerry Java Application
add a menu item to BlackBerry Maps that opens a BlackBerry Java Application
Getting and using GPS location information in a BlackBerry device application
Using BlackBerry Maps location information in a BlackBerry device application
Note: BlackBerry Maps uses latitudinal and longitudinal integer values that are 100,000 times the double
values specified by JSR 179, which uses WGS84 specifications for the longitudinal and latitudinal values.
Vue de la page 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 29 30

Commentaires sur ces manuels

Pas de commentaire