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

New Developer
Posts: 23
Registered: ‎09-18-2009
My Device: Not Specified

Blackberry Map issues while invoking through Map View and Map Field



I have two queries regarding maps.



1. In my application  I am getting the latitude and longitude value from google maps.


When passing the value to


MapView mapview = new MapView();





 // Invoke maps application with specified MapView.
        Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments(mapview));


For example we have provided the latitude and longitude of location "hyderabad". The map view is


pointing to location "chad",


So could you please help us out what' s going wrong.?




2. One more query when we are trying to display map using MapField class the map is not displayed on


the simulator as well as device. It is displaying as blank page with green background.


mapField = new MapField(Field.FIELD_HCENTER);
        mapField.moveTo(100000, 100000);


What might be the problem here?




Thanks in advance