Search This Blog

Thursday, January 3, 2013

Google map API Key

In case you want to use MapView in your android app, you need to have a  map key .
the next step will describe how to do it in your debug environment.

search for the debug.keystore file , in my Win7 its located at:
C:\Users\yanivt\.android

open cmd windows.
cd C:\Users\yanivt\.android


C:\Users\yanivt\.android>"C:\Program Files (x86)\Java\jdk1.6.0_35\jre\bin\keytool.exe" -list -alias
androiddebugkey -keystore debug.keystore -storepass android -keypass android

you should get somthing like this

androiddebugkey, Sep 21, 2012, PrivateKeyEntry,
Certificate fingerprint (MD5): xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx

goto here Google Maps Android v1 API Key Signup   and accept the terms and enter the MD5 that generated for you by keytool.


more info: Signing Your Applications

another post about this subject could be found here http://moorandroid.blogspot.co.il/p/google-maps-on-android.html

enjoy
yaniv tzanany


No comments: