Android maps using

Source: Internet
Author: User

Now there are a lot of map software, such as Baidu Map, gold map and so on. Note: Only the template, if there is infringement. First time Delete.

So how does the map work:

1: In Baidu Search high-tak development platform,

2: In which register login, open the console, in the application management, create a new application,

3. Add a new

Here is a SHA1 code (obtained with a DOS command)
CD. Android
Keytool-list-v-keystore Debug.keystore
Android

4. Click on the development document to enter, there is a Androidstudio configuration project

5. Show the map in the

Copy to Androidmanifesst

6

7.

Defines a map

View Mapview = (Mapview) Findviewbyid (R.id.map); mapview.oncreate (savedinstancestate); //This method is subject to overwrite and the virtual machine needs to save the current state of the map drawing in many cases.

//Initialize the map controller object

AMap AMap;

if (AMap = = null) {

AMap = Mapview.getmap ();

}

The map is OK!!!

Android maps using

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.