I am trying to query for the playlists created by "Google Play Music" app 
but haven't been able to do so. I created a playlist using locally stored 
content. I used the following code to query:

Cursor c = managedQuery(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
                                       new String[] 
{MediaStore.Audio.Playlists._ID,
                                                     
MediaStore.Audio.Playlists.NAME
                                                    }, null, null, null);

This works fine for Winamp but not for Google Play Music. In fact, Winamp 
doesn't display the playlists created with Google Play Music. However, 
Google Play Music displays the playlists created with Winamp. My guess is 
that Google Play Music is using its own database to store the playlists 
where as other players use Content Provider with uri 
MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI to store their playlists. 
Is there a way to get playlists created with Google Play Music?


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to