Blackberry GPS and BlackBerry Maps Manual - Page 18
Browse online or download pdf Manual for Software Blackberry GPS and BlackBerry Maps. Blackberry GPS and BlackBerry Maps 35 pages. Version: 4.7.0
Development Guide
"<location lon='-7569792' lat='4542349' label='Ottawa, ON'
description='Ottawa, Ontario, Canada' />" + "</GetRoute></location-
document>";
3.
Invoke invokeApplication() using the APP_TYPE_MAPS constant parameter, a new MapsArguments
object that uses the ARG_LOCATION_DOCUMENT property, and the String.
Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments
( MapsArguments.ARG_LOCATION_DOCUMENT,document));
View a sample application that displays a route between locations on a map
1.
From the BlackBerry® Integrated Development Environment, launch the BlackBerryMapsDemo project.
2.
In the BlackBerry Smartphone Simulator, click BlackBerry Maps Demo.
3.
Open the menu and click Invoke Location Document.
4.
Open the menu and click View Route.
5.
To view tracking information from one location to another, from the application menu, select Directions.
16
Displaying location information on a BlackBerry device