To make Google Maps work on your Android app, you need to enter a MD5 fingerprint of your keystore in Google Maps API signup: http://code.google.com/android/maps-api-signup.html
And here's how you get your keystore's MD5 fingerprint in Windows.
- You probably already have JDK installed. Find out your Java bin directory. Mine is:
C:\Program Files\Java\jdk1.6.0_24\bin - Enter this directory path in your PATH Environment variable (see picture).
- Start "cmd" and navigate to your
C:\Users\<yourusername>\.android
directory - Type this command:
keytool -list -keystore debug.keystore - The password is empty, just hit enter
- You're done. Copy the MD5 fingerprint in that url, you get an API key, which you use in your Android MapView Layout file.
android:apiKey="your api key here"
No comments:
Post a Comment