Permission to read data from SD Card

前端 未结 6 395
北海茫月
北海茫月 2021-01-08 01:01

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

6条回答
  •  醉梦人生
    2021-01-08 01:37

    Key here is what you want to read. As mentioned above, you need the permission if you are reading content NOT created by your app. Some devices lets you get away with this also, provided the developer options allow it on the device. But better to include it in the manifest.

    If you are only reading what you wrote using the same app, no explicit permission is required.

提交回复
热议问题