Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
ankurnema12
Posts: 18
Registered: ‎10-23-2012
My Device: 9500

Location map integration

On a button click i want to open a map with current location .i just invoke  is it ok ...? ..how to create that event on button click..? 

public class invokeMaps
{
    public invokeMaps()
    {
        Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments());
    }
}