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?
Asked
Active
Viewed 718 times
1 Answers
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
-
I need Home and office address saved on device on an android phone. – Mitech Feb 08 '14 at 17:34
-
1@Mitech did you find the way to get the address? I am also looking for the same. Or let me know if it's not possible. – rahul verma Apr 13 '16 at 11:40