Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Phonegap 开发一个 Android 应用程序。我正在使用 Phonegap 地理定位并从中获得经纬度。如何获得 GPRMC 声明?
这样做没有内置函数。您可以使用NMEA Sentence Definition和其他NMEA 参考对您从 PhoneGap 接收的位置信息进行编码,并生成 GPRMC 编码字符串。
正如您可能发现的那样,由于设备限制(例如,您永远不知道它们是否具有指南针方向),您无法可靠地将某些项目更改为高精度的 GPRMC 句子。