Team Development With Google Maps
Android development with Google Maps requires you to generate an API key using the MD5 fingerprint of your keystore certificate.
If there are several people on your team, it’s likely you’ll all have different debug.keystore files, and subsequently different API keys.
To fix this you should share your keystore file in something like Dropbox or a shared network drive folder, and point Eclipse to its location:
Window -> Preferences -> Android -> Build -> Custom Debug Keystore
You might also want to make your Maps API key configurable by storing it in values/strings.xml:
<string name="map_api_key">API KEY HERE</string>
And then refer to it in your Maps layout file:
<com.breezy.android.controls.MapView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/mapview" android:layout_width="fill_parent" android:layout_height="wrap_content" android:clickable="true" android:apiKey="@string/map_api_key" />
About this entry
You’re currently reading “ Team Development With Google Maps ,” an entry on Public Static Droid Main
- Published:
- 12.12.11 / 12am
- Category:
- Uncategorized
No comments
Jump to comment form | comments rss [?] | trackback uri [?]