【发布时间】:2016-05-21 01:38:04
【问题描述】:
有LocationManager 类来获取位置,但你也可以使用Google Apis with LocationServices.API。
现在我只想知道,在电量不足的情况下,用户在哪个国家/地区。
我应该使用哪个以及何时使用?
【问题讨论】:
-
根据我的观点
Google Location API Services是最好的
标签: android google-api
有LocationManager 类来获取位置,但你也可以使用Google Apis with LocationServices.API。
现在我只想知道,在电量不足的情况下,用户在哪个国家/地区。
我应该使用哪个以及何时使用?
【问题讨论】:
Google Location API Services 是最好的
标签: android google-api
Google 建议您使用新的 Google Play 服务位置 API。
Google Play 服务位置 API 优于 Android 框架位置 API (android.location),可作为向您的应用添加位置感知的一种方式。如果您目前正在使用 Android 框架位置 API,强烈建议您尽快切换到 Google Play 服务位置 API。
来源:http://developer.android.com/training/location/index.html
【讨论】: