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

Uudised

Viimane: Tue, 17 May 2011 13:21:59
Teema: Nutimap Eesti kaardi asemele
Veel uudiseid »

Blackberry and LocationSource

2 replies [Last post]
Emilio
User offline. Last seen 2 years 12 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 13 hours 15 min 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