MapsV1 is deprecated, and the below tutorial is no longer useful. To use Maps in your android App, start with MapsV2 >> More info here
I have come across many tutorials which tell how to obtain MD5 Key for using this key in Map based Applications.
But still there are lot of confusions to obtain that. so I decided to write this "Tut"
I have come across many tutorials which tell how to obtain MD5 Key for using this key in Map based Applications.
But still there are lot of confusions to obtain that. so I decided to write this "Tut"
This Method is for obtaining "MD5" Key, for Windows with Java JRE 6 or JRE 7
First Open Your "Command Prompt"
change your directory to latest version of "JRE" This JRE will be under
C:/ProgramFiles/Java/<jre Version>/bin
In my case it's
cd C:\Program Files\Java\jre7\bin
click on the image to view Larger
now enter the below
Mine
keytool.exe -list -alias androiddebugkey -keystore "C:\Users\Android\.android\debug.keystore" -storepass android -keypass android
click on the image to view Larger
Some of you might Get The SHA1 Key, dont worry, this is because of the latest version of the Java JRE-7 you installed, then you have to use the below code
keytool.exe -list -v -alias androiddebugkey -keystore "<keystore path>\debug.keystore" -storepass android -keypass android
Mine
keytool.exe -list -v -alias androiddebugkey -keystore "C:\Users\Android\.android\debug.keystore" -storepass android -keypass android
click on the image to view Larger
copy the MD5 Key & sign in to your Google account & open this link http://code.google.com/android/maps-api-signup.html Now paste your MD5 key
Check the Terms and conditions & "Generate API Key"
click on the image to view Larger
use this key in your XML Layout/File
Found this useful "Share it"