How Android develops access to Google Map API Key

Source: Internet
Author: User
Tags md5 sha1 encryption

Map applications use Com.google.android.maps this package. Used by the Mapview control. But before you need to apply for a development API key, this key will be tied to the current computer user. And then through the key to the official application can get a development of the API key

<1> first find the user's Debug.keystore file, you can "run" inside the search Debug.keystore, such as: C:usersadministrator.androiddebug.keystore

<2> next get MD5 fingerprints, a lot of wrong online. Looks like the new version defaults to appear SHA1 encryption. All is displayed by adding the-v argument.

First run cmd, in the DOS interface, enter

Keytool-list-v-keystore C:usersbystander.androiddebug.keystore

command, and then let you enter the KeyStore password,

Input: Android, after which there will be fingerprint authentication MD5, as follows:

<3> go to the official Generate real API Key

Access the Sign up for the Android Maps API to enter that value, agree to the terms, and then ask to log in with Google account. Then you'll get a key. Ok

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.