Google Maps API key application

Source: Internet
Author: User
Tags certificate fingerprint

The steps are as follows:

Prerequisites
: Each Google Maps API Key corresponds to an MD5 fingerprint (fingerprint Certificate). That is to say, before obtaining the map API Key, you must use the keytool provided by Java JDK to generate an MD5 fingerprint. (Does sun have long known that Google will make such a thing? Why was this keytool used earlier ?)

Now that this fingerprint is used, apply for one!

Keytool is placed in the bin/directory of the java jdk installation directory, such as E:/jdk/bin (in windows). In addition to keytool, we also need a keystore. AndroidSDK provides a debug for us. store. In windows, it is generally stored in user /. android/directory. We recommend that you copy debug. keystore to the keytool directory. Of course, if you still cannot find debug. store path, we can run Eclipse, and then select Window --> Preferences --> Android --> Build. In this case, we can find debug. the keystore path, as shown in figure

The following process uses keytool to generate an MD5 fingerprint.

Run cmd, go to the keytool directory, and enter keytool-list-keystore debug. keystore (available only when debug. store has been copied to the same directory). Otherwise, it should be as follows:



Keytool-list-alias androiddebugkey-keystore"

Path/debug. keystore "-storepass android-keypass android. Note that double quotation marks are required.



The execution result should be as follows:



Androiddebugkey, May 4, 2009, PrivateKeyEntry,


Certificate fingerprint (MD5): XX .............

Some accidents occurred when I applied: press the Enter key and ask me to enter the keystore password. Where do I know what this is? I am in a hurry. At this time, I pressed enter a few times, and then a miracle occurred. My character broke out, and several warnings were issued. Then I followed an MD5 fingerprint and broke my shoes without looking at them, you don't have to worry about it!



Start application!

URL: http://code.google.com/android/maps-api-signup.html

Then I guess I don't need to talk about it anymore. The webpage is in English and it is better to understand some English. Well, I can see that the authentication fingerprint is entered by the token when I see MD5.

By the way, you must have a Google account. Apply for a Gmail account ...... Chrome OS will also be used later.


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.