Relative Content

Tag Archive for androidandroid-permissions

Can I let user select an audio file and then load the same audio file at next start?

I got the READ_MEDIA_AUDIO permission, and let user select an audio file. Audio file was played fine. But I want to load the same audio file at next startup, without making the user select the same file again (which is obviously inconvenient for the user). I saved the uri.toString() in the preference, and in onCreate, I read the string, and created the uri again.