Possible Duplicate:
Reverse Geocoding With Google Map API And PHP To Get Nearest Location Using Lat,Long coordinates
How to convert gps coordinates ( latitude&longitude ) to address on Android or Php ?
My program should get address from given coordinates. For example :
Coordinates : 41.011576, 28.984852 –> Address : Cankurtaran Mh., Kennedy Cd, Istanbul, Türkiye
I hope, you can help me..
The
Geocoderclass can do what you want for Android. You would usegetFromLocationYou would do it as so:You may want to make modifications, such as the 1 in
getFromLocationif you want more than one location, or with theaddress.getAddressLineyou may want to get more than one line.You will want to put it within a
try {}block and do it in a worker thread.