开发者

java - is that possible to develop GPS software on PC

i want to make an application for tablet PC / notebook i want to make software to acquire a location(longitude and latitude)for PC. is that possible for me to develop GPS for PC with java prog开发者_JS百科ramming language??? if yes, what software i need to download to develop that application????


Yes, it's possible.

First of all, you'll need a GPS receiver (either built into the computer, or connected to it).

Typically, GPS units use a simple text protocol to talk to the host over the serial port. There are plenty of libraries out there that can help you if you don't want to parse the protocol yourself; just google "gps java".

Lastly, bear in mind that typically GPS units don't work indoors since they require an unobstructed view of the sky.


First you need to have at least a GPS device to receive the GPS information! Usually, devices are connected through USB, serial port, or Bluetooth. Interface with the device (read the manufacturer's reference book on that). Once you start getting the information, all you have to do is to parse the data and adopt to your program accordingly!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜