I am trying to find a way to browse audio playlist and return and save the Uri of the playlist to play it later.
Like an alarm clock which you can select the playlist to paly it later when alarm starts.
It is possible to get one song's URI, with intent but it doesn't work on playlist.
I have tried the intent,
Intent i = new Intent(Intent.ACTION_PICK);
i.setType(MediaStore.Audio.Playlists.CONTENT_TYPE);
startActivity(i);
but it doesn't return URI, it runs MediaPlayback activity directly.
Any idea on this?
Thanks in advance.