1

I want to implement a map in my application, but it's an internal prototype and I don't want to register it anywhere. This tutorial is such simple, but it needs an api key and I don't know where I can get it... .

In worst case it's enough to show a pin on a given gps position without searching for adresses (but sure, it would be better if I'm able to search for adresses...).

lis
  • 650
  • 12
  • 32

3 Answers3

2

The API key is what identifies the mobile application and authorises it to access the services offered by Google. You are going to need this if you intend to implement the Google Maps API in your app.

First of all, you need to access the Google Developer Console

You then need to search for the Google Android Maps API

Next, you need to get the SHA-1 certificate fingerprint from the App you have created. This will help you generate it.

Finally, you need to insert the key generated by Google in the manifest file of your app.

Hope this helps :)

Community
  • 1
  • 1
Michele La Ferla
  • 6,265
  • 11
  • 44
  • 75
1

For api key; you'll need to go to Google Developers Console.
There's no other way.
Follow the link for details:
https://developers.google.com/maps/documentation/android/start

AnswerDroid
  • 1,825
  • 2
  • 30
  • 50
1

You must register your app in order to use Google Maps (that's what the tutorial is using).

Check the Google Maps Documentation for Android. Here you have how to obtain an API key

Pelocho
  • 6,154
  • 6
  • 20
  • 41