I used a database to store the URI for an mp3 file, but when I restart the app, trying to set the source returns an error saying that it failed to load, and when i get the URI again its still the same though
URI was:
"content://com.android.externalstorage.documents/document/primary%3ADownload%2F%5BCytus%20II%5D%20SECRETWEAPON%20-%20NOMA%20w%20Apo11o%20program%20ft.%20Yukacco%E9%9F%B3%E6%BA%90%20%E9%9D%9E%E5%85%AC%E9%96%8B.mp3"
but when i restart the app and try to play that it gives this:
and if i clear the database and upload the song in again, it gets this same URI, and now it works? how do i fix this?