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
.
Development Guide
Displaying location information on a BlackBerry device
12