Android location vs Google Play Services

拥有回忆 提交于 2020-01-05 05:09:06

问题


I've used both methods for my application and as expected I found Google Play Services to not only be more accurate but also a lot more stable and quicker. My question however is to why this is. I've read some differences between Android location and Google Play Services here and there, but I'd like to learn more about the underlying technologies used and why there is such a great difference in performance.

I hope someone can share an article with relevant information or share his or her own knowledge. Thanks in advance!


回答1:


Answer from Dhruvam Gupta on the question Singh provided:

The Google Location Services API, part of Google Play Services, provides a more powerful, high-level framework that automatically handles location providers, user movement, and location accuracy. It also handles location update scheduling based on power consumption parameters you provide. In most cases, you’ll get better battery performance, as well as more appropriate accuracy, by using the Location Services API.

More detailed differences between the two apis Google Play Service Location API and Android Framework Location API can be found here



来源:https://stackoverflow.com/questions/39852955/android-location-vs-google-play-services

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!