开发者

How to Obtain The User Address By Knowing their Longitude and Latitude

I am using LocationManager in android application to obtain the user current coordinates. It works fine for me but the second step I 开发者_JAVA技巧want to display the formatted address to the user instead of displaying it in logn and lat format. can you pleeease help me ?


try this:

Geocoder geocoder = new Geocoder(context);
List<Address> address = geocoder.getFromLocation(Latitude, Longitude, 1);       
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜