Magnus W
07/28/2019, 3:42 PMval fixedPath = "/storage/emulated/0/AnkiDroid/collection.media/主人_B_zh.mp3"
val myURI = Uri.fromFile(File(fixedPath)
I'm trying to load a file to my mediaPlayer directly using this URI, bit I get permission denied
Reference here: https://developer.android.com/preview/privacy/scoped-storage#opt-out-of-filtered-viewMagnus W
07/28/2019, 3:48 PMThe authority of the uri file:///storage/emulated/0/AnkiDroid/collection.media/%E4%B8%BB%E4%BA%BA_B_zh.mp3 does not match the one of the contentProvider: media