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 and j2me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring 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:
I agree. Here's the link:
subject: gps and j2me
It's not a secret anymore!