It seems the specifying the following two flags in manifest is not enough for android app to read and write from/to places like /storage/emulated/0/Music
I manually added some codes in the java file, similar to the recordAudio ones. And now the app prompts the permission asking.
Maybe juce could add this officially?
But it has link error on some OpenSL code. I encountered this during a release build variant build. Maybe you can try it on one of your audio example app?
Hi, I’ve added the Projucer flags and can read/write to File::SpecialLocationType::userHomeDirectory ok, but not to File::SpecialLocationType::userDocumentsDirectory.
One the demo app, this is showing as /storage/emulated/0/Documents.