Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to develop an Android App with google maps API on multiple computers?

I want to make an Android Application, that uses Google Maps. I have installed Eclipse, Android JDK and an AVD (Android Virtual Device). I followed this tutorial: http://developer.android.com/resources/tutorials/hello-world.html and made my first app. And it works :)

But, to develop an Android app that uses Google Maps API, you have to obtain a Google Maps API Key. According to this link http://code.google.com/android/add-ons/google-apis/mapkey.html you obtain the key by getting the MD5 fingerprint of your debug key in the JDK folder. The problem is that this fingerprint is different from computer to computer.

So my problem is this: we have to develop on multiple computers. We are using subversion as a source control on this project. How can this be solved?

If I register my MD5 fingerprint and obtain a GM API Key, this key won't work on any other computer. I know that one solution is that each and every one of the developers get their own personal API key, but I don't think this is a smooth solution.

I've tried to read up on MD5 fingerprints, and as I understand it you can create, export and import them. So, could the solution be that I create a spesific fingerprint, export it, send it to all the other developers and then they can import it? But as I understand it have to be a debug sertificate? And in that case, how to I make, export and importe one? I've treid to read up on this, and know that I use the keytool command, but I can't find any simple examples. Please enlighten me :)

like image 258
linnkb Avatar asked Mar 11 '12 09:03

linnkb


People also ask

Can multiple people use same API key?

1 accepted. @sam saas Admin API keys are scoped to a single organization (they can be used by multiple users since they are owned by the organization, not any individual user).

Can I use Google Maps API commercially?

If you want to use Google Maps, Google Earth or Street View for other commercial purposes – meaning “for sale or revenue-generating purposes” – please contact the Google Cloud Customer Team.

Is Google Maps API free for development?

Note that the Maps Embed API, Maps SDK for Android, and Maps SDK for iOS currently have no usage limits and are at no charge (usage of the API or SDKs is not applied against your $200 monthly credit).

Is Google Maps API free for personal use?

All Maps Embed API requests are available at no charge with unlimited usage.


1 Answers

You can get debug.keystore from one of the team members, put into Subversion and then instructy other team memebrs to replace theirs debug.keystore file with one from repository.

ADD1: See this link also: http://groups.google.com/group/android-developers/browse_thread/thread/c9051635ab37f252

ADD2: http://developer.android.com/guide/publishing/app-signing.html#debugmode

The default storage location for AVDs is in ~/.android/ on OS X and Linux, in C:\Documents and Settings\.android\ on Windows XP, and in C:\Users\.android\ on Windows Vista and Windows 7.

like image 167
Olegas Avatar answered Sep 20 '22 07:09

Olegas