File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes gps with java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "gps with java" Watch "gps with java" New topic

gps with java

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Does anybody know whether i can extract info from a gps device using java...I want to extract latitude and longitude info from a gps device and then send it to a web server...
Richard Taylor
Ranch Hand

Joined: Jun 19, 2001
Posts: 45
Its entirely down to the specific device, and whether their Java implementation allows that access.
Certainly, J2ME specifications don't mandate this - how could they, when the devices range from tiny mobile phones up to full-blown PDAs. It doesn't know which devices have GPS, and which don't.
So, ask the device manufacturer what they intend supplying. And if they don't give GPS access, start nagging them to do so :-)
Richard Taylor
Author of Professional Java Mobile Programming

Richard Taylor <br />Author of <a href="" target="_blank" rel="nofollow">Professional Java Mobile Programming</a>
I agree. Here's the link:
subject: gps with java
It's not a secret anymore!