If you are looking to get the permission to access your external storage in android, here is the solution:-
you have to add these lines in your manifest file:
<uses-permission android:name="android.permission.STORAGE" />
To store something via your application in your device like some files, you need to obtain write permisson:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
To get or access a file of your android device in your application like to get a photo, song etc. , you need to obtain read permisson:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
0 Comment(s)