I have tried about 30 or more code snippets to launch the media player and play a mp3 file selected by the content uri. None have worked. They keep getting me tangled up in permissions or other errors. Some don’t even error, just nothing happens. Does anyone have some code to do this that actually works? I would really appreciate some help on this.
Thanks
PS I have the permissions to open the filepicker and select a file, then save its data including the stringUri to a database. I then retrieve the stringUri and convert it back to a contentUri, but I can’t get it to play.
Thanks
PS I have the permissions to open the filepicker and select a file, then save its data including the stringUri to a database. I then retrieve the stringUri and convert it back to a contentUri, but I can’t get it to play.