Search code examples
androidgoogle-geocoder

Does Geocoder work outside the United States?


Can the Geocoder class provide reverse lookups outside of the United States? I basically want to know what country my user is in (for law stuff).

http://developer.android.com/reference/android/location/Geocoder.html

If it can't, is there another way of determining this?

Thanks


Solution

  • I have tested Geocoding before in Poland, so I would say it should work outside the USA. I think it will work everywhere where Google Maps API geocoding works. Here is a list of locations where it works, however I don't know if it is outdated. You could also get the user's country by using his/her IP address, but probably this will require more work.