Would you like to tell us how we are doing?

You bet No thanks

Sorry about the red box, but we really need you to update your browser. Read this excellent article if you're wondering why we are no longer supporting this browser version. Go to Browse Happy for browser suggestions and how to update.

OpenBlackBerry Maps with the default settings

You can open BlackBerry Maps to display the default map view by calling Invoke.invokeApplication() and passing in a new MapsArguments object. How the default view is displayed depends on whether the 'On App Launch' setting in BlackBerry Maps is set to 'Show my location' or 'Show previous location'.

Code sample: Opening BlackBerry Maps by using the default settings

import net.rim.blackberry.api.invoke.*;

//Create a class and a constructor to use to invoke BlackBerry Maps.
public class invokeMaps
    public invokeMaps()

//In the constructor, invoke Invoke.invokeApplication() to open BlackBerry Maps.
//Pass in a new MapsArguments object.
        Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments());