4
I have an app that uses the Location api and works right on most devices, but has one that even on the gps does not work with adequate accuracy( goes over the house and not on the street).
By the test I did he uses antenna triangulation even with the GPS on.
Does anyone know if there is a way to validate which type of location the device is using.
If it is with a low precision (antenna triangulation) I can trace a route between two points. If I do not use the route that the gps showed.
Even the GPS does not have a 100% accuracy, it depends a lot on the signal of the region, and the device you are using. And GPS is not the only location system, there are others that may even be more accurate depending on the purpose.
– Fleuquer Lima
If you are using the first position that the system returns to you, the chances are high that it is an antenna triangulation, which is obtained faster than the GPS. You can validate the source by the method
Location.getProvider()
or by Accuracy as @ramaral explained.– Piovezan