Baidu map Android SDK and androidsdk

Source: Internet
Author: User

Baidu map Android SDK and androidsdk

Before using the open platform of Baidu LBS to provide various services to developers, a development Key (AK/Key) is required to identify its complete legitimacy, at the same time, it effectively protects its own use security. The following describes how to apply for a development key for Android mobile.


Official Address of Baidu LBS Open Platform: http://developer.baidu.com/map

Development key, that is, the address of the API console is: http://lbsyun.baidu.com/apiconsole/key


First, we would like to give a brief introduction to Baidu LBS Open Platform Android products:

Android products mainly consist of Baidu positioning SDK, Baidu map SDK, Baidu navigation SDK, and Baidu panoramic SDK.

To provide developers with a better service experience, weaken product concepts, and enhance functional concepts, Baidu LBS Open Platform further divides existing products from the functional perspective, the divided functions include positioning, basic map, navigation, retrieval, LBS cloud retrieval, computing tools, and panorama. It also provides a unified, functional-based download mode.

URL: http://lbsyun.baidu.com/sdk/download


Now, let's go to the question: How to Apply for Android mobile development keys and key-related considerations.


First, the accesskey you are about to apply for is a general accesskey, that is, it can be applied to all Android mobile products on the Baidu LBS open platform mentioned in the appeal;


2. If you have a Baidu account and become a developer of the Baidu LBS open platform, you can simply follow the prompts on the webpage;


3. Click "create application" in the API console;


4. Fill in the Application name in the pop-up dialog box. Be sure to enter the name of the app you are about to develop in both Chinese and English. However, the name cannot be modified after it is entered;


5. Set "application type" to "for mobile ";


Sixth, the key point is coming. Fill in the security code. The security code is not entered at will, and whether it is entered correctly will completely affect whether your AK is available;

The security code consists of: sha1 semicolon application package name, for example, BB: 0D: AC: 74: D3: 21: E1: 43: 67: 71: 9B: 62: 91: AF: A1: 66: 6E: 44: 5D: 75; com. baidumap. demo

Note that the semicolon in the middle is in English!

Among them, sha1 is the digital signature of keystore. Each developer has a different theory. another common problem is that keys are available during development and APK generation are unavailable, the sha1 in this region has changed, and thus the AK becomes invalid. So please note that if the keystore changes when exporting the APK, remember to modify the security code of the AK you are using in the API console;


7. Click "OK" to apply for a development key. Please keep your development key safe.


More detailed steps in the Baidu LBS Open Platform official website are described: http://developer.baidu.com/map/index.php? Title = androidsdk/guide/key




Android uses Baidu map sdk to display no map on the machine

No error is reported during running, but only the square is displayed. It is a key problem ..
Or you can download the demo provided by Baidu and run it.

Does the android sdk demo of Baidu map have another problem? It cannot be located on simulators.

Simulator positioning requires you to enter the latitude and longitude to determine ~ Does the simulator have a gps module ~

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.