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
Highlighted
Contributor
Posts: 29
Registered: ‎02-08-2011
My Device: Not Specified

Invoking blackberry maps using kml gives error 400 ..!!

Hi 

I want to use kml  to display routes and locations on map.I have a valid kml hosted on a server .When i open it from blackberry browser,it is displayed there properly.

 

But am getting error.  400 Bad request. when i pass it as an argument in code below.

 MapsArguments ma = new MapsArguments
         (MapsArguments.ARG_KML, "http://10.137.242.204:39975/kml/test.kml");
    	
    	 
   Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, ma);  

 Please help to solve this issue..!!

Thanks in advance