I have a usb/bluetooth gps receiver and I would like to know how could I get the gps location using Java SE Desktop? I couldn’t find information for java se. Is there any example?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Most USB GPS receivers I know provide the data on a (virtual) serial port in NMEA-format.
So you have to connect to the serial port to read the data. I have never used a serial port in Java, but I guess there are many docs and tutorials out there. Maybe this Wikibook is a good starting point.