Hi folks,
As I understood, using Android 11 there is no way to access files from external directories, but the ones in the SD card through the CSEntryExternal keyword.
Is there a way to access the download copmmon folder as in
File file = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS);
Best
Ari
Access to the download directory
-
- Posts: 1805
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Access to the download directory
Have you tried?
pathname(Downloads)
Re: Access to the download directory
Hi Greg,
Sorry to take so long to answer.
In fact I did not try it, I did not know it even existed that possibility.
Is it a double way access in the sense that I can GET and/or PUT some file there?
Best
Ari
Sorry to take so long to answer.
In fact I did not try it, I did not know it even existed that possibility.
Is it a double way access in the sense that I can GET and/or PUT some file there?
Best
Ari
Best
Ari
Ari
-
- Posts: 1805
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Access to the download directory
You should be able to. It's one of the few directories that Android makes available to all applications.