You are not logged in.
Pages: 1
So I have a "gps enabled" phone that supports cldc and midp 1.0... but I don't seem to be able to access those features on it. I was hoping to write an app that reads GPS coords and accesses google maps right on my phone.
That'd be really sweet (for me) since I hate having to print out maps all the time.
Anyone know how to access the GPS features of my phone? I have a low end sprint VI-125.
Offline
I didn't research that phone at all but are you sure it's not GPRS enabled? If so, that's a big difference. You could write a J2ME app that could do that provided the phone allows Java apps to access the GPRS network. It would be less accurate but I'm sure there is somewhere online where you can enter an address and it'll give you a map of the local area, that's not as simple as using GPS but it'd work
Offline
I believe it has a GPS chip for 911 purposes or something.
Offline
I believe it has a GPS chip for 911 purposes or something.
Yep.
Offline
MIDP 1.0 and CLDC 1.0 by themselves provide NO api's to access GPS information. You'd have to see if there's an additional / add-on profile that allows access to that stuff.
Offline
I know, and my dilemma is that the sprint wtk with gps support only seems to support it on midp 2.0, and even so the documentation is really really thin.
Offline
http://developers.sun.com/techtopics/mo … /location/
JSR 179, or the J2ME Location API, is what you'd need, from the looks of things. Only CLDC 1.1 is supported though since floating point numbers are needed to represent co-ordinates and CLDC 1.0 doesn't support floats -- since you said your device only supports CLDC 1.0 then I think you're outta luck.
Offline
Pages: 1