I am trying to draw route by using following code
String document = "<location-document>" +
"<GetRoute>" +
"<location lon='-8030000' lat='4326000' label='Kitchener, ON' description='Kitchener, Ontario, Canada' />" +
"<location lon='-7569792' lat='4542349' label='Ottawa, ON' description='Ottawa, Ontario, Canada' />" +
"</GetRoute>" +
"</location-document>";
Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments( MapsArguments.ARG_LOCATION_DOCUMENT, document));
It works perfect in Blackberry 9700 OS6.But in 9700 OS5 and in 8900 simulator it showing null pointer exception when loading.When i am testing in 8900 device map is not displaying. How can i rectify the problem.
Thank You G.Koti Babu