Map API

Nutiteq Maps Lib SDK enables developing advanced mobile mapping applications.
Platforms: Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

» View demos
» Downloads

Latest news

Last at Tue, 6 Dec 2011 18:37:53
Topic: New BlackBerry sample app
See more news »

Blackberry and LocationSource

2 replies [Last post]
Emilio
User offline. Last seen 2 years 13 weeks ago. Offline
Joined: 03/20/2009

Is there some issue with the LocationSource class on Blackberry?

Every time I try to call the MapItem.setLocationSource the app hangs without error message...


userMarker = new NutiteqLocationMarker(new PlaceIcon(userIcon, 4, 16), 0, true);
LocationSource gps = new GPSThread(true);
gps.setLocationMarker(userMarker);
userMarker.setLocationSource(gps);
mapDisplay.setLocationSource(gps);

This code was working ok in the J2ME version, but now I am porting the app to blackberry and seems to have problems with the MapItem.setLocationSource method...

Any help will be appreciated.

Cheers,
Emilio

jaak
User offline. Last seen 1 day 9 hours ago. Offline
Joined: 06/19/2008

Location API requires signing of application. In principle the same javax.microedition.location API as in J2ME should work also on Blackberry.

/JaakL