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);
精彩评论