How to reverse Geocode in google maps api 2 android
问题 I want to do reverse geocoding in my app using map api 2.But i dont know exactly how to do that?Any ideas? 回答1: Use Geocoder: Geocoder geoCoder = new Geocoder(context); List<Address> matches = geoCoder.getFromLocation(latitude, longitude, 1); Address bestMatch = (matches.isEmpty() ? null : matches.get(0)); 回答2: You can do reverse-geocoding in two ways Geocoder Google API Geocoder It should be executed in a separate thread: private class FindPlaces extends AsyncTask<String, Void, List<Address>