If you already have the key got the link below and add the fingerprint along with your android project package name
You also need to login to your google account
https://code.google.com/apis/console
Click on create new key. Add the fingerprint along with your android project package name.
You can see the api key above
Enable google map api v2 from services tab.
Then in manifest file under application tag
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="my key"/>
Visit the API Console
Login with your Google acocunt and click the API Access tab. Your API key is listed there.
You will also need to enable Google Maps Android API v2 service for your API key. You can do that on the services tab via the toggle button.
Hello, I am about to use for the first time the google map api for android,
And apparently in order to display the app in your app context, you need to have the API key defined in the android manifest like this:
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="YOUR_API_KEY_HERE"/>Isn't there any other way?
Isn't that dangerous? People can get your api key.
I read about restricting the api to your app, but is that enough? Are there bad stories about people who had a misadventure of missused map APIs? Despite restricting?
What other solutions to protect yourself from your API key abuse?