How to request songs in playlists on the Android SDK?

So my question is how to request playlist content. I can make a request to display all the playlists, but how to make a request to display the songs in a specific playlist.

thanks

+7
source share
1 answer

Ok, so I managed to put the code together. So here it is:

String[] proj = { MediaStore.Audio.Playlists.Members.AUDIO_ID, MediaStore.Audio.Playlists.Members.ARTIST, MediaStore.Audio.Playlists.Members.TITLE, MediaStore.Audio.Playlists.Members._ID }; c = getContentResolver().query( MediaStore.Audio.Playlists.Members.getContentUri("external",playlistID), proj, null, null, null); startManagingCursor(c); 
+12
source

All Articles