Ads
Ads

Reputation: 6691

locating an address in android phone

in my android application i have address, when i click a button i have to call google map api and show the exact location of that address.how to use that google map api in android , and also how to send the addess to the particular api to locate it?

Upvotes: 0

Views: 712

Answers (1)

aniri
aniri

Reputation: 1831

To find the location of an address you need to use the geocoding service from google maps, http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding. After you get the coordinates from the server (latitude and longitude) you have to show them on your map.

To show a map in an android application, you would have to use this api: http://code.google.com/apis/maps/documentation/staticmaps/

Upvotes: 3

Related Questions