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
Regular Contributor
Posts: 92
Registered: ‎01-31-2012
My Device: curve 8520
My Carrier: vodafone

MapView doesn't displayed on real device

I am doing an application that will implement blackberry maps , it's working fine on the emulator and when I load it on the real device it doesn't working what should I do please  that's the source code

 

super(FullScreen.DEFAULT_CLOSE | FullScreen.DEFAULT_MENU);
		MapView mapView = new MapView();
		String document = "<lbs><location lon='31.2439383*100000'' lat='30.0503199*100000'' label='Toronto, ON' description='Toronto' zoom='8'/></lbs>";

		Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments(
				MapsArguments.ARG_LOCATION_DOCUMENT, document));

 

Developer
Posts: 141
Registered: ‎07-13-2011
My Device: BB Bold
My Carrier: Vodafone

Re: MapView doesn't displayed on real device

Check if ur device has got the maps installed.

 

click on blackberry button

click on Maps App to check if you can see maps....