This may be a stupid question, but I really need an answer to it.
As far as I understand, starting with Android 10, the recommended way is to save files to the internal directory of the application, which the system allocates for it.
In my application, users download content and then can (and most often do) delete it or import it into the game using the Uri scheme. When trying to save the file this way I can save the file and even delete it, but not import. Saving to cache is not suitable for my application. There are methods that depend on the presence of saved files on the device.
However, with the help of DownloadManager
, I can save, delete and import files into the game from the Downloads directory.
Question: can I save files to the Download folder on Android 11 and higher, and if not, please tell me another way so as not to break any rules.
Thank you very much for your attention!