- Locate the android debug key in your system. it is found on the following locations depending on your operating system (This path will be useful):
- Windows XP:
C:\Documents and Settings\<user>\.android\debug.keystore - Mac OS X and Linux :
~/.android/debug.keystore(where~is the path of yourhomedirectory.
- Windows XP:
- In a terminal, use the following
keytoolcommand to generate the MD5 Hash:keytool -list -alias androiddebugkey -keystore <path_to_debug_keystore>.keystore -storepass android -keypass android
- Copy the generated hash
- Go to : code.google. com/android/maps-api-signup.html (you maybe required to login with your Google account)
- Paste the above generated MD5 hash there, accept the Terms and Conditions and click on
Generatebutton - You'll get the API key for your map. paste this in your XML file
Followers
Thursday, August 9, 2012
Retrieve Google Map API Key in Android
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment