Get Application Key for Google Map
Minggu, 15 Juli 2012
0
komentar
Get the apiKey for Google Map
Google Map integration in your android application requires a key to integrate with your application.
This post will explain the procedure to get the apiKey for your android application for Google and explain the integration of Google Map with your application.
To get the apiKey we need to follow the following steps
- Locate the debug.keystore
- Locate the keytool.exe
- Generate the MD5 fingerprint using keytool and debug.keystore
- Get the API Key from Google by providing the MD5 fingerprint
You can find the debug.keystore file user directory of your operating system
For Example : C:\Users\XXXX\.android\debug.keystore
You can find the keytool.exe in your %JAVA_HOME%\bin\keytool.exe
Now run the following command to get the MD5 fingerprint
C:\Program Files\Java\jdk1.6.0_01\bin>keytool.exe -list -alias androiddebugkey
-keystore C:\Users\t\.android\debug.keystore -storepass android -keypass android
See the output of the command as following screen shot
MD5 fingerprint with Key Tool |
Now register this MD5 fingerprint to get the Google Map API Key as follows
Go to the following link
Copy the MD5 fingerprint and click on Generate Key to get your application key.
Add the application key value to the MapView XML object as follows
<com.google.android.maps.MapView
android:id="@+id/map_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="0HvaRYYCBNDap4SKY0HN-XXXXXXXXXXXXXX"
/>
Now you are ready to use the Google Map in your application see here how to integrate the basic google map object in your application.
http://creativeandroidapps.blogspot.in/2012/07/google-map-in-android-application.html
If you like the post then please provide your feedback.
Thanks
Creative Android Apps
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Get Application Key for Google Map
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://apk-xda.blogspot.com/2012/07/get-application-key-for-google-map.html. Terima kasih sudah singgah membaca artikel ini.Ditulis oleh Unknown
Rating Blog 5 dari 5
0 komentar:
Posting Komentar