Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Permission to read data from SD Card

Do you need any permission to read data from an sdcard? I found the write permission but nothing for read.

like image 555
Daniel Nysveen Avatar asked Jan 21 '12 15:01

Daniel Nysveen


2 Answers

Do not forget to add

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

to your manifest file

like image 129
savepopulation Avatar answered Sep 20 '22 03:09

savepopulation


If you are using android version 4.1 (Jelly Bean), you have to insert the following permission into your application's manifest file:

READ_EXTERNAL_STORAGE

http://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGE

like image 21
Vishwanath.M Avatar answered Sep 20 '22 03:09

Vishwanath.M