Requesting location information for an address
You can use the Locator class in a BlackBerry® device application to request location information for an address. Requests are sent to a locator server for location-based services. If the request is successful, the server returns an enumeration that contains latitudinal and longitudinal data for the address. If the request is unsuccessful, the server throws a LocatorException exception that contains the reason for the unsuccessful request. A BlackBerry device application can request location information for only one address at a time.
- Retrieve location information for an address that is stored in address fields
- Retrieve location information for an address that is stored in a String
- Cancel a request for location information for an address
Related tasks
Previous topic: Configure the display size of a map that displays in a UI field