This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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>
Don't get me started about those stupid light bulbs.
subject: gps with java