how to open Map with routes using the user specified latitude and longitude in blackberry
Can u give me code for opening Map using the user specified latitude and longitude in blackberry.开发者_开发技巧I tried with BlackberryMapsDemo im not getting routes displayed so please help me out.
To invoke the maps from code you'll have to use the Invoke API.
Displaying a route can be achieved by using the MapsArguemnts
String doc = "<location-document>...</location-document>";
Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments(MapsArguments.ARG_LOCATION_DOCUMENT, doc));
Display and clear a route on a map by using a location document
精彩评论