Apply for the android google map API key

Source: Internet
Author: User
Tags xml format example

1. First locate the debug keystore location:

Open Eclipse ---> Windows ---> Preferences ---> Android ---> Build

This is generally the path C: \ Documents ents and Settings \ Administrator \. android \ debug. keystore

2. Run

Keytool-list-alias androiddebugkey-keystore "C: \ Documents and Settings \ Administrator \. android \ debug. keystore"-storepass android-keypass android

D: \ install \ Java \ jdk1.6.0 _ 24 \ bin> keytool-list-alias androiddebugkey-keystore"
C: \ Documents and Settings \ Administrator \. android \ debug. keystore "-storepass android
Oid-keypass android
Androiddebugkey, 2011-3-14, PrivateKeyEntry,
Authentication fingerprint (MD5): 33: 27: 0C: 5F: 63: 4D: E2: D2: 8A: E6: E2: 5B: F8: 86: 6E: C5

3. Open http://code.google.com/intl/zh-CN/android/maps-api-signup.html

Copy the authentication fingerprint (MD5): To My certificate's MD5 fingerprint below

4. Click Generate Api key.

? Thank you for registering the Android map API key!  Your key is:  0vDJgxtrB71gl2bwGRP2mPrW5jfSxeTno0xDyVw  This key applies to all applications that use the certificate corresponding to the following fingerprint for verification:  33:27:0C:5F:63:4D:E2:D2:8A:E6:E2:5B:F8:86:6E:C5  The following is an xml format example to help you understand the map function:                 <com.google.android.maps.MapView                   android:layout_width= "fill_parent"                   android:layout_height= "fill_parent"                   android:apiKey= "0vDJgxtrB71gl2bwGRP2mPrW5jfSxeTno0xDyVw"                   />
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.