-2

In google maps I can get the latitude and longitude of the point on which ever I touch. Now how can I get the address of the Latitude and Longitude(reverse geocoding).

1 Answers1

0
List<Address> addresses = null;
try {
            Locale mLocale = new Locale("en");
            Geocoder gCoder = new Geocoder(context , mLocale);
            addresses = gCoder.getFromLocation(lat, lng, 1);
            Address addr = addresses.get(0);
            ...
            ...
            ..
        } catch (Exception e) {

        }

Geocoder

Archie.bpgc
  • 23,812
  • 38
  • 150
  • 226