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