How to Use MapActivity in Android
Getting Map View to work. A Three Step process …
1. use java “keytool” to generate Test Application RSA certificate.
Windows: Mac: Terminal
$ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -validity 10000
Now Generate MD5 Entry — with following Line …
$ keytool -list -keystore my-release-key.keystore
It will give result in this form
alias_name, Dec 14, 2009, keyEntry,
Certificate fingerprint (MD5): DC:00:83:C0:8A:A5:D4:DB:E9:CE:C6:25:6A:E2:70:EB
2. Now we need to put our key in following link
http://code.google.com/android/maps-api-signup.html
The key will be generated in this format on this webpage…
e.g. Your key is: 0ui8F2Ff_e83ArP9HG9JjCeLcRm6WzJu3z7rnGQ
The above generated key would be good for all apps signed with your certificate whose fingerprint is:
DC:00:83:C0:8A:A5:D4:DB:E9:CE:C6:25:6A:E2:70:EB
3. Add Following XML code in your AndroidManifest.xml
android:layout_width=”fill_parent”
android:layout_height=”fill_parent”
android:apiKey=”0ui8F2Ff_e83ArP9HG9JjCeLcRm6WzJu3z7rnGQ”
/>

Leave a Reply