Tuesday, February 5, 2013

Generate Google map API key Android

Generate Google map API key Android (JDK 1.7)


 For Generating Map Key:

Require debug.keystore which is located in "C:\Users\<username>\.android\debug.keystore".


Open command prompt provide jdk path i.e "C:\Program Files\Java\jdk1.7.0_03\bin" 

command:- cd/ then press enter and type command cd "Program Files\Java\jdk1.7.0_03\bin" press enter. Thats the setting java path for running keytool.

Now enter following command :

keytool -v -list -keystore C:\Users\<username>\.android\debug.keystore
Enter keystore password:-android

Now you have MD5 Certificate fingerprints.

For generating google map key Goto link: Google Maps Android v1 API Key Signup

Enter MD5 fingerprint Generate API key

You will get map key use this in mapview in layout file



No comments:

Post a Comment