+ 1

Using media folder in android 11 and up

I want to read and write in downloads folder in android 11 and up

16th Apr 2024, 10:00 PM
Khaled Hawwas
Khaled Hawwas - avatar
4 odpowiedzi
+ 1
As of Android 10 and higher, accessing external storage directories like the 'Downloads Folder', that you mentioned; has been restricted due to privacy and security reasons. Instead of directly accessing the Downloads Folder, Android encourages developers to use the Storage Access Framework (SAF) for accessing shared files. You can use it. Here is their documentation⤵️ https://developer.android.com/about/versions/11/privacy/storage For directory issues visit this⤵️ https://stackoverflow.com/questions/70248631/starting-from-android11-do-i-need-to-comply-to-androids-saf-just-to-even-creat
17th Apr 2024, 3:43 AM
`ᴴᵗᵗየ
`ᴴᵗᵗየ - avatar
+ 1
`нттp⁴⁰⁶ That page says Android 4.4 (API 19).
17th Apr 2024, 4:00 AM
Rain
Rain - avatar
+ 1
Rain Thanks! I think I attached the wrong link that time. Now it is fixed, Android 11 (API level 30)
17th Apr 2024, 4:19 AM
`ᴴᵗᵗየ
`ᴴᵗᵗየ - avatar
+ 1
I read it and i don't understand how to make a folder
17th Apr 2024, 7:30 AM
Khaled Hawwas
Khaled Hawwas - avatar