0

请问,GeoCoder 和 LocationManager 有什么区别?在安卓开发中

4

2 回答 2

1

Geocoder has two methods to get a location from any known coords and vice versa.

LocationManager is for asking the system the current (or the last known) position of the device via a provider (various networks, gps, etc)

于 2013-03-19T15:53:09.877 回答
0

LocationManager 是一个框架类,允许您从各种来源(网络、GPS 等)请求位置信息。它只处理纬度和经度方面的位置。地理编码是将纬度/经度转换为帝国大厦或当地购物中心等位置。

于 2013-03-19T15:48:30.747 回答