Hello everyone, please I am working on application which users can download mp3 files, I tried to publish it on Play Store but was rejected due to all file access. Now I am using some extensions developed by @Anke and Taifun file and Colintree extensions which requires no external storage permission. My problem is that, the files are downloading but can’t be accessed.
This is how I set the folder: file///storage/emulated/0/Download/ASD
This is the result I’m getting
You have to create app specific directory to make download your files in users device … Better use asd extension available in community …
Search for asd . @Saifullahi_Mannir
@Alapjeet_Singh thank you I downloaded the extension but unfortunately I couldn’t understand how to use it from the available documentation… Please can you help me with the blocks, these are the available blocks:
The folder I want access is file///storage/emulated/0/Download/ASD
The folder is not located where it should be. In your example it is in the /Download folder, which you don’t want. The correct path to the ASD is /storage/emulated/0/Android/data/packageName/files.
@Anke file is already downloading, all I need is for my app to list the files on Colintree listview without seeking admission to read or write the device storage.
Ah, I misunderstood. I’ve tested it now and I don’t see where your problem with storage permissions should be. Of course, you shouldn’t hard code the path to the ASD.