您的位置:首页 > 理论基础 > 计算机网络

android中用HTTP请求将经纬度解析为具体地址街道信息!

2011-03-17 21:24 316 查看
原来试着用

getFromLocation(double latitude, double longitude, int maxResults)
//Returns an array of Addresses that are known to describe the area immediately surrounding the given latitude and longitude.


但发现老是返回空值:http://blog.csdn.net/dadoneo/archive/2011/03/17/6255486.aspx

于是就采用了此种方案!

改天把代码贴上来:

严重参照了下面的链接:

http://code.google.com/intl/zh-CN/apis/maps/documentation/javascript/v2/services.html#ReverseGeocoding

http://www.smnirven.com/?p=39
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: