- Learning Android Google Maps
- Raj Amal W.
- 250字
- 2021-07-09 21:54:29
Registering in the Google Developer Console
Registration is one of the most important steps in our process. Our application will not function without obtaining an API key from the Google Developer Console. Follow these steps to obtain the API key:
- Open the Google Developer Console from https://console.developers.google.com. Click on the Create Project button.
- A new dialog box will appear. Give your project a name and a unique project ID. Then, select Create:
- As soon as your project is created, you will be redirected to the project dashboard. On the left-hand side, under the APIs & auth section, select APIs.
- Then, scroll down and enable Google Maps Android API v2:
- Next, under the same APIs & auth section, select Credentials. Now, select Create new key under Public API access, and then select Android key as shown in the following dialog:
- In the next window, enter the SHA1 fingerprint we noted in our previous section followed by a semicolon and the package name of the Android application we wish to register. For example, my SHA1 fingerprint value is
C9:44:2E:76:C4:C2:B7:64:79:78:46:FD:9A:83:B7:90:6D:75:94:33
, and package name of the app I wish to create iscom.raj.map
. I will then enter it as this:C9:44:2E:76:C4:C2:B7:64:79:78:46:FD:9A:83:B7:90:6D:75:94:33;com.raj.map
. - You should enter the value as shown in the following screenshot:
- Finally, select Create. Now our Android application will be registered with the Google Developer Console, and it will display a screen similar to what is shown here:
- Note down the API Key from the screen. It will be similar to this:
AIzaSyAdJdnEG5vfo925VV2T9sNrPQ_rGgIGnEU
.
推薦閱讀
- SQL Server 2012數據庫技術及應用(微課版·第5版)
- Python Tools for Visual Studio
- PHP+MySQL網站開發項目式教程
- 零基礎學單片機C語言程序設計
- Python全棧數據工程師養成攻略(視頻講解版)
- Solr Cookbook(Third Edition)
- 詳解MATLAB圖形繪制技術
- SQL Server 2008 R2數據庫技術及應用(第3版)
- MyBatis 3源碼深度解析
- Maven for Eclipse
- Python GUI Programming Cookbook(Second Edition)
- Clojure編程樂趣
- 精益軟件開發管理之道
- Mastering XenApp?
- Web前端開發技術實踐指導教程