it always return 180.000000
How can i get real latitude and longitude
On a real device, you need to turn on GPS. See RecordSampleApp.mc in the RecordSample in the SDK.
In the sim, if you use simulation>activity data to generate data, you'll see the data for testing…
in my real device (fenix 6xpro) when i change settings to GPS only but some time it not change the longitude and latitude correctly
On a real device, you need to turn on GPS. See RecordSampleApp.mc in the RecordSample in the SDK.
In the sim, if you use simulation>activity data to generate data, you'll see the data for testing
Thank you...
in my real device (fenix 6xpro) when i change settings to GPS only but some time it not change the longitude and latitude correctly
You can check the accuracy/quality of GPS in the callback for the data. There are places where the quality is pretty poor.
When you turn on GPS in your app, you specify the "type" of GPS, with just GPS being the lowest quality, and multi-band All satellites" (on devices that support it) being the best, but also hardest on the battery.