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

Invoking BlackBerry Maps throws unexpected runtime exception

by Retired ‎02-16-2010 04:26 PM - edited ‎09-16-2010 03:20 PM (2,668 Views)

Summary

 

This article applies to the following:

  • BlackBerry® Device Software 4.6 and 4.7
  • BlackBerry® Maps

Details

 

Problem

 

A NullPointerException is thrown when calling Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, MapsArguments).

Resolution

 

Use the net.rim.device.api.lbs.MapField class to render a map using the current mapping service.

 

For more information on the MapField class features, see the GPS and BlackBerry Maps Development Guide.

Contributors
Users Online
Currently online: 16 members 2,034 guests
Please welcome our newest community members: