I just want to know how to get to the external dir...
# android
o
I just want to know how to get to the external dir in Kotlin
🧵 2
k
So, almost all of these directories are now protected. The only way to get access to them is to bring up a directory picker where the user gives permission to write to that directory
There is the DIRECTORY_DOWNLOADS field in Environment but I believe that won’t work on newer devices
o
Thank you so much @kevindmoore
I have tried passing the DIRECTORY_DOWNLOADS but got an error
k
I think you should be able to get the directory but you won’t be able to write to it due to permissions
o
Thanks a lot sir… You’ve been most helpful