Quote:
Originally Posted by sunrain
OK, so the problem was with the apiKey for the MapView. I had to sign up for an Android Maps API Key.
|
Thanks sunrain, your post lead me down the right path to a solution. To expand on sunrain's post, here's how you can get a debugging API key:
http://code.google.com/android/add-o...is/mapkey.html describes how to obtain a Maps API key. I used the SDK Debug certificate to generate a debug key. First find the debug.keystore file (probably in c:\Documents and Settings\<user>\.android of something similar depending on your OS). Run the keytool command (found in your java directory e.g. c:\Program Files\Java\jre6\bin).
keytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android
This will print out a MD5 fingerprint that you input into
http://code.google.com/android/maps-api-signup.html. Click the "Generate API key" button. That key is what you enter for your MapView's android:apiKey in your XML layout files.
-Sonja