Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For each contact there is a personal address field which can be filled with informations like street name, city, country, and so on. The problem is that in order to display these informations on a map, Google maps have to do an online search to get the coordinates. How can I use this feature offline ?

share|improve this question

Short answer is: you can't.

The feature relies on a service called geocoding, which is done on Google's servers. The only possibility for this to be done locally would be to download the entire map data to the device and use that data to calculate the coordinates from an address. This is a resource and space consuming task (for example, OpenStreetMap has a dataset of 370GB), and not suitable for mobiles.

A workaround would be to save the coordinates themselves as a street address in the form latitude,longitude, e.g. 62.244858,25.758712 in addition to the regular address and use this "address" to show the map. The catch is, you'd still have to use a geocoder to resolve the address to coordinates.

All address fields are sent to Google to be resolved, that's why the workaround I suggested is invalid.

share|improve this answer
I don't understand why Google maps don't give me the option to cache this result. A simple GPS coordinate would be enough, even though Google maps don't work offline (for navigation) – alecail May 15 '13 at 9:53
@Antoine see the update for a workaround, that's the best I can come up with. – onik May 15 '13 at 9:57
In which field do you put this string? So far it stills require an internet connection to display it on a map. – alecail May 15 '13 at 10:12
Ok, so it appears that the Contacts app sends all address queries to Google to be resolved. So it can't be done this way either. Just so you know, the Contacts app creates a formattedAddress query from the address, and the location you'll have to put the coordinates differs between Contacts apps, for me the Street address field worked. – onik May 15 '13 at 10:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.