Question

I am developing an Android app with Phonegap. I'm using Phonegap geolocation and get lat and long from it. How I can get a GPRMC statement?

Was it helpful?

Solution

There is no built-in function for doing so. You can use the NMEA Sentence Definition and other NMEA references to encode the positional information you receive from PhoneGap and produce a GPRMC-encoded string.

As you likely discovered, there will be items you cannot reliably change to a GPRMC sentence with high accuracy due to device limitations (you never know if they feature a compass heading, for instance).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top