Skip to content Skip to sidebar Skip to footer

Why Geocoder.getfromlocationname(...) Returns An Empty List?

I'm using the android.location.Geocoder for the first time. The Idea is: I have a Listener on a button which takes input from an EditText and resolve the location. Up to now it's d

Solution 1:

the project wasn't targeting the correct AVD. To use geolocation you have to make it point an avd implementing the google APIs. Once I changed it everything worked just fine. Sorry for bothering

Solution 2:

Because it doesn't recognize the address you are putting in or it can't reach the service.

What address are you putting in? Try something as simple as a zip code or city or state name.

Post a Comment for "Why Geocoder.getfromlocationname(...) Returns An Empty List?"