This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "gps and j2me" Watch "gps and j2me" New topic
Author

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
thanks
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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
author
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: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: gps and j2me