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, 3 Apr 2012 23:31:42
Topic: MapXT SDK evaluation
See more news »

GPS locations

4 replies [Last post]
jaak
User offline. Last seen 14 hours 12 min ago. Offline
Joined: 06/19/2008

Question:
I'm trying to location current user location thru GPS.
and I got a code from cloudmade
http://developers.cloudmade.com/projects/j2me-lib/examples/gps-location
is that ok...or I need to do more coding..

there are two options for GPS location:
a) using java ME location API (JSR-179) like shown in cloudmade tutorial above
b) MGMaps Lib SDK has own API method to get GPS location. See http://www.nutiteq.com/system/files/Hello_Map_tutorial-0_8_0A.pdf page 10, chapter "Show GPS location on map". Library API has advantage that it supports also othere positioning methods: external Bluetooth GPS of devices which do not have Java Location API (e.g. SonyEricsson phones) and Cell-ID positioning.

If phone has internal GPS and you use only it, then there is no difference which method to use.

/JaakL

faisal
User offline. Last seen 2 years 28 weeks ago. Offline
Joined: 04/30/2009

Hi,
I've tested both above codes(GPS Code example from Nutiteq and cloudmade) and neither of them are working...
I used Nokia E71 & N73
any solution for GPS Location Finding...

Your patience is appreciated,
faisal@aufait.in

jaak
User offline. Last seen 14 hours 12 min ago. Offline
Joined: 06/19/2008

The problem is probably that GPS has no coverate indoors. You can check status with Nokia Symbian phones under Tools > GPS Data. If this shows coordinates, then also Java application will do it.

/JaakL

ogatatsumi
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 08/09/2011

hi jaak.
do this gps jsr179 work in emulator wtk?

jaak
User offline. Last seen 14 hours 12 min ago. Offline
Joined: 06/19/2008

It should work, select Events menu in WTK emulator and set coordinates (or route) there. Initially it will 0,0

/JaakL