Blackberry GPS and BlackBerry Maps Manual - Page 14

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

Open BlackBerry Maps to display the default map view

1.
Import the following classes:
• net.rim.blackberry.api.invoke.Invoke
• net.rim.blackberry.api.invoke.MapsArguments
2.
Invoke invokeApplication()using a new MapsArguments object that does not contain any arguments.
View a sample application that displays the default 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 Default.
4.
Open the menu and click View Map.
12
Displaying location information on a BlackBerry device