How to get USB/Bluetooth GPS Receiver Location Using Java SE

心已入冬 提交于 2019-12-24 02:59:05

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/7790075/how-to-get-usb-bluetooth-gps-receiver-location-using-java-se

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!