Adding Google Maps Layer

From Earlham CS Department
Revision as of 11:29, 20 April 2012 by Jrhurst08 (talk | contribs)
Jump to navigation Jump to search
  1. Run the following command in a terminal:
        $ keytool -list -keystore ~/.android/debug.keystore
  1. Sign up for the google maps service at this link with:
        http://code.google.com/android/maps-api-signup.html
  1. Replace the following line in positx/res/layout/map_main.xml:
        android:apiKey="0bvEMJ9m96_er-z_dr1wcZjsucPYBoUZMjI-RQw" />

with:

        android:apiKey="YOUR-GENERATED-KEY" />
  1. Build and Run