android:获取地理区域?

时间:2013-05-23 22:25:05

标签: android geolocation gps region

我没有在API中看到任何特定国家/地区所在的区域。例如,我无法使用任何方法列出世界上拉丁美洲/波罗的海地区的所有国家/地区。可用。有没有我忽略的东西?我是否必须为此任务构建自己的数据库?

1 个答案:

答案 0 :(得分:0)

我使用http://ws.geonames.org API。 e.g

http://ws.geonames.org/countryCode?lat=53.3428&lng=6.2661&type=json

但您可以使用内置的Geocoder API获取地址,并从地址中获取国家/地区信息。

相关问题