6

I have an map based android app and am providing functionality to login using gmail account. Now, Google maps on the device has saved home and office address of the user. Is it possible to get this data without user having to input it?

Mitech
  • 400
  • 4
  • 6

1 Answers1

0

You can geocode the addresses with Google Geocoding API.

Depending of what you want, you can get an XML or JSON response by calling

http://maps.google.com/maps/api/geocode/json?address=ADRESS HERE

Where all the spaces of the address must be replaced by +. The data you want is located in geometry->location.

Preview
  • 35,317
  • 10
  • 92
  • 112