Querying Google Play Music database in Android

后端 未结 3 863
不知归路
不知归路 2021-02-03 10:18

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 follow

3条回答
  •  自闭症患者
    2021-02-03 10:53

    Î tried querying the ContenProvider like you can see it in Logcat when you Start the google Music app:

    getContentResolver().query(Uri.parse("content://com.google.android.music.MusicContent/playlists"), null, null, null, null);

    but I got no result :-( maybe Im doing s.th. wrong, didnt work much with contentproviders before, or maybe the contentprovider is not public for other apps.

提交回复
热议问题