Generate Google Maps API Key Tutorial  For Android

First of all locate the SDK debug certificate located in the default folder of
“C:\Documents and Settings\<username>\.android\debug.keystore”.
The filename of the debug keystore is “debug.keystore”.
For simplicity, copy this file (debug.keystore) and paste in C drive. (Path of file will become “C:\debug.keystore”).

Using the debug keystore, you need to extract its MD5 fingerprint using the Keytool.exe application included with your JDK installation. This fingerprint is needed to apply for the free Google Maps key. You can usually find the Keytool.exe from the “C:\Program Files\Java\<JDK_version_number>\bin”

Open Command Prompt, change your current directory to

“C:\Program Files\Java\<JDK_version_number>\bin”

and apply the following command on command prompt to extract the MD5 fingerprint.
keytool.exe -list -alias androiddebugkey -keystore “C:\debug.keystore” -storepass android -keypass android


Copy the MD5 certificate fingerprint and navigate your web browser to http://code.google.com/android/maps-api-signup.html . Follow the instructions on the page to complete the application and obtain the Google Maps key.

NOTE:

If you are using Emulator then it is necessary to use the key which is generated using jdk installed on the same PC on which the Emulator is running. On mobiles this condition not applied.

Other Important Links

http://mobiforge.com/developing/story/using-google-maps-android

About these ads
This entry was posted in Android and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s