Show TOC

Adding User Permissions to the Android Manifest FileLocate this document in the navigation structure

Add user permissions to the Android project.

Procedure

  1. In the Android IDE, open the AndroidManifest.xml file.
  2. Add user permissions in the AndroidManifest.xml file, for example:
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="smp.tutorial.android"
        android:versionCode="1"
        android:versionName="1.0" >
        <uses-sdk
            android:minSdkVersion="8"
            android:targetSdkVersion="15" />
    <uses-permission android:name="android.permission.INTERNET">
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE">
     <application>
    
            <activity>
                <intent-filter>
                    <action />
                    <category />
                    <data />
                </intent-filter>
                <meta-data />
            </activity>
      </application>
    </manifest>
    
  3. Select Start of the navigation path File Next navigation step Save End of the navigation path.