In order to work, my app requires a location API. I intend use the Mapbox platform to customize its design (since Google Maps does not provide this level of customization, as far as I am concerned).
Documentation says that we should use Google Play API when building location apps:
The Google Play services location APIs are preferred over the Android framework location APIs (android.location) as a way of adding location awareness to your app. If you are currently using the Android framework location APIs, you are strongly encouraged to switch to the Google Play services location APIs as soon as possible.
My question is: Is Google Play API the most efficient API when it comes to GPS accuracy? Or should I use the LocationManager and LocationListener way of doing it?
I need accuracy. Which one should I use? Thanks.
fusedlocation(aka the google location api) is designed to be more efficient in terms of battery usage and network. I haven't seen any benchmarks so this is all subjective and speculative; the accuracy I get fromfusedlocationis more than enough and I wouldn't try anything unless it performs horribly. - muratgu