Meaningless Drivel is fun!*
The moose likes Java Micro Edition and the fly likes gps and j2me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "gps and j2me" Watch "gps and j2me" New topic

gps and j2me

Bing Lu
Ranch Hand

Joined: Oct 10, 2000
Posts: 42
Hi, does anyone has ideas about how a personaljava application could get the data received by the gps add-on unit
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I believe you have to resort to using proprietary APIs since your cell phone is probably not implementing the Location API, yet. I would start by reading the vendor documentation about any available programming interfaces.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Michael Yuan
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
If your device provides serial port access API to your Java applications, you can read the GPS data and parse them inside your app yourself. Check out this series of tutorials from IBM developerworks.
Introduction to GPS, Part 1
Introduction to GPS, Part 2
Introduction to GPS, Part 3

Seam Framework:
wood burning stoves
subject: gps and j2me
Similar Threads
variables one class accessed through another class???????
unable to get gps coordinates in my app on mobile
How to use GPRS connectivity for sending the GPS co-ordintes?
Any ideas for xmas gifts for a programmer?
about GPS?