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

Posts: 29
Registered: ‎02-08-2011
My Device: Not Specified

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


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, "");
   Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, ma);  

 Please help to solve this issue..!!

Thanks in advance