Difference between revisions of "Adding Google Maps Layer"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
− | |||
#Run the following command in a terminal: | #Run the following command in a terminal: | ||
− | |||
$ keytool -list -keystore ~/.android/debug.keystore | $ keytool -list -keystore ~/.android/debug.keystore | ||
− | |||
#Sign up for the google maps service at this link with: | #Sign up for the google maps service at this link with: | ||
− | |||
http://code.google.com/android/maps-api-signup.html | http://code.google.com/android/maps-api-signup.html | ||
− | |||
#Replace the following line in positx/res/layout/map_main.xml: | #Replace the following line in positx/res/layout/map_main.xml: | ||
− | |||
android:apiKey="0bvEMJ9m96_er-z_dr1wcZjsucPYBoUZMjI-RQw" /> | android:apiKey="0bvEMJ9m96_er-z_dr1wcZjsucPYBoUZMjI-RQw" /> | ||
− | |||
with: | with: | ||
− | |||
android:apiKey="YOUR-GENERATED-KEY" /> | android:apiKey="YOUR-GENERATED-KEY" /> | ||
− | |||
#Build and Run | #Build and Run |
Revision as of 10:29, 20 April 2012
- Run the following command in a terminal:
$ keytool -list -keystore ~/.android/debug.keystore
- Sign up for the google maps service at this link with:
http://code.google.com/android/maps-api-signup.html
- Replace the following line in positx/res/layout/map_main.xml:
android:apiKey="0bvEMJ9m96_er-z_dr1wcZjsucPYBoUZMjI-RQw" />
with:
android:apiKey="YOUR-GENERATED-KEY" />
- Build and Run