Using media folder in android 11 and up | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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
`Š½Ń‚Ń‚pā“ā°ā¶
`Š½Ń‚Ń‚pā“ā°ā¶ - 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
`Š½Ń‚Ń‚pā“ā°ā¶
`Š½Ń‚Ń‚pā“ā°ā¶ - 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