My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Troubleshooting  
Common problems when running this app
trobleshooting, apikey, signing
Updated Jun 24, 2009 by germanvi...@gmail.com

Important

This demo will show a blank map if you don't provide your own Android Maps API key.

The procedure to generate it is described here: http://developer.android.com/guide/topics/location/geo/mapkey.html

Once you get your API key edit the following file:

res/layout/mapview.xml

and replace YOUR_API_KEY_HERE with your generated key.

The key must be generated using the same fingerprint in your Eclipse Android debug store (more info here: http://mobiforge.com/developing/story/using-google-maps-android):

1) Find your debug.keystore file. It's usually in directory USER_HOME\Local Settings\Application Data\android

2) Use the keytool to retrieve your certificate fingerprint (MD5). Use the following command on the command prompt:

keytool -list -alias androiddebugkey -keystore .keystore -storepass android -keypass android

3) Go to this page: http://code.google.com/android/maps-api-signup.html. Enter your certificate fingerprint (MD5) and get your API key for your Android maps application.

4) Replace YOUR_API_KEY_HERE with your API key.

Powered by Google Project Hosting