如何通过GPRS获取GPS设备信息? [英] How to fetch GPS device information through GPRS?

查看:156
本文介绍了如何通过GPRS获取GPS设备信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发一款车载GPS动态网络应用程序(使用Java,Eclipse,MySql和Apache),它可以从包含Sim卡的GPS设备获取所有GPS实时信息,如位置速度等。

我的问题是如何连接到GPS设备?,如果我在研究了很多后我得到了答案,那我的套接字编程工作正在这里但我怀疑的是我怎样才能安装服务器程序到该设备与SIM卡GPRS通信并通过Web服务器发送信息。



我的示例客户端程序和服务器程序在localhost中成功运行。

I m currently working on a Vehicle GPS Dynamic web app( Using Java, Eclipse, MySql & Apache) Which fetch all GPS real time Information like location speed etc.. from GPS device which contain Sim card.
My question is "How can i connect to GPS device ?", if i m correct after researching a lot i got answ that socket programming is working here but my doubt is that how can i install server program to that device which communicate with Sim card GPRS and send information through web server.

My sample client program and server program is running successfully in localhost.

推荐答案

GPS设备为您提供NMEA数据。你需要使用它。



你应该阅读关于Android的Localtion Services - 这将使你更容易:



位置和传感器API @Android [ ^ ]
The GPS Device gives you NMEA Data. You need to work with that.

You should read about Localtion Services @ Android - that would make it easier for you:

Location and Sensors APIs @ Android[^]


这篇关于如何通过GPRS获取GPS设备信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆