
2
Using GPS
Modes for getting GPS location information
To specify the location mode that a BlackBerry® device application uses to get location information, you can create
the
Criteria object and pass it as a parameter to LocationProvider.getInstance().
Specifying the source of GPS location information
A BlackBerry® Application selects the source of location information depending on how closely the GPS location
provider matches the defined criteria.
Modes for getting GPS location information
Specifying the source of GPS location information
Specifying a GPS receiver as the source for location information
Location
mode
Description
cell site Get location information from the location of cell site towers and strength of signal
Advantages
• the fastest location mode
Disadvantages
• accuracy of location information is low-level and does not provide tracking information such as speed or route information
Requirements
• both the BlackBerry device and the wireless service provider must support this mode
• wireless network coverage
assisted Get location information from satellites using a Position Determination Entity (PDE)
Advantages
• provides location information faster than the autonomous mode and more accurately than the cell site mode
Requirements
• both the BlackBerry device and the wireless service provider must support this functionality
• wireless network coverage
autonomous Get location information from the GPS receiver on the BlackBerry device without assistance from the wireless network
Advantages
• accuracy of location information is high-level
• does not require assistance from the wireless network
Disadvantages
• slower than other modes
Komentarze do niniejszej Instrukcji