Android Studio's high-de map for positioning and 3D map display

Source: Internet
Author: User
Tags sha1

In application development, map development is often required to use the "component", the domestic is more famous is Baidu map and the German map.

This blog is about the German map for positioning and 3D map display. and mark the corresponding location. Words don't say much. First look at the effect, on the code.

Effect

????????

First of all, register high-Tak as a developer (open the high-D map and click on the developer platform at the bottom) to create the app. Fill in the corresponding information as required, for example:


????????


On the way to include the release version of the SHA1 Security Code and test version of the SHA1 security code, the value of both can be seen? Blog: Android Studio apk package. Keystore.jks file generation. Get the SHA1 security code based on the KeyStore key?

Speak very specific, according to do will be successful to obtain.

First import the Gold jar package

Select the jar package right click? Add as Library, see in Build.fradle for example the following code indicates success of the guide package

    compile files(‘libs/AMap_Location_V3.0.0_20160922.jar‘)    compile files(‘libs/AMap_Search_V3.5.0_20160927.jar‘)    compile files(‘libs/AMap_3DMap_V4.1.1_20161019.jar‘)

Code: (Note: Do you want to include an interface file in the Project Code folder?) Jnilibs os file? Ability to draw maps. Specific download source code view, not specific description of the narrative)

Adding Permissions in Androidmanifest.xml

<!--Consent Program Open Network sockets    --<uses-permission android:name= "Android.permission.INTERNET"/>    <!--positioning-    <!--for access to GPS--    <uses-permission android:name= "Android.permission.ACCESS_FINE_LOCATION" ></uses-permission>    <uses-permission android:name= "android.permission.ACCESS_LOCATION_EXTRA_ COMMANDS "></uses-permission>    <!--consent program to set the Write permission of the built-in SD card--    <uses-permission android:name=" Android.permission.WRITE_EXTERNAL_STORAGE "/>    <!--consent program to get network status--    <uses-permission android: Name= "Android.permission.ACCESS_NETWORK_STATE"/>    <!--consent Program Access WiFi Network information-    <uses-permission Android:name= "Android.permission.ACCESS_WIFI_STATE"/>    <!--consent program Read and write phone status and identity--    < Uses-permission android:name= "Android.permission.READ_PHONE_STATE"/>    <!-- Agree to program access to Cellid or WiFi hotspot to get a rough location--    <uses-permission android:name= "android.permission.ACCESS_COARSE_ Location "/>

Suppose that only the high-de location can be viewed: in Android Studio to achieve high-de positioning and get the corresponding information?

The words are very specific; Please leave a message or sweep the head and add the group @ Me


Code GitHub: https://github.com/DickyQie/android-map/tree/high-moral-display-map


Android Studio's high-de map for positioning and 3D map display

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.