目录

Adding Permissions

To call capabilities of Map Kit, you must apply for the following permissions for your app:

<uses-permission android:name="android.permission.INTERNET"/> 
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 
<uses-permission android:name="com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA"/>

To obtain the current device location, you need to declare the following permissions in the AndroidManifest.xml file. On Android 6.0 and later versions, you need to apply for these permissions dynamically.

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> 
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>