First sign up as a Baidu developer
Then go to Baidu Developer Center Click lbs
Jump to the next page click on the basic map of Android development
Go to click to get key
Go to click Create App
Enter the app name to fill in the application type select Android SDK package name SHA1 Click to view detailed configuration method
Enter to see for yourself
Here's how it's directly said
The first method:
1th step: Run into the console
2nd step: Navigate to the. Android folder, enter CD. Android
3rd Step: Enter Keytool-list-v-keystore Debug.keystore, you will get three kinds of fingerprint certificate, select the SHA1 type of certificate (key password is Android), for example:
Where Keytool is the JDK's own tool; Keystorefile for Android signing certificate file
(Key password is Android)
So we can get to SHA1.
Some people can not
Try the following blue middle path for the Java bin package
Green path for. Android to find it by itself
Enter the key password is Android will get
Second approach: In Eclipse, see directly in ADT 22
If you use ADT 22, you can view it directly in Eclipse: Android---build, Windows---preferance. As shown:
This completes and the K value is generated.
Click Related Downloads
Download the Development Kit sample package
Back to click
Left to see the development Guide and view the download code
Android Baidu Map Location Development 2 will post the relevant code to view
Android Baidu map positioning Development 1