我有这段代码
final ContentResolver resolver = this.getContentResolver(); final Uri uri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; final String idKey = MediaStore.Audio.Playlists._ID; final String nameKey = MediaStore.Audio.Playlists.NAME; final String[] columns = { idKey, nameKey }; final Cursor playLists = resolver.query(uri, columns, null, null, null);
这将返回给我,设备上找到的所有播放列表。但是,我只想要由我的应用程序创建的播放列表,而不是所有在其他地方创建的播放列表。问题是我找不到任何created_by
或sthg,如MediaStore.Audio.Playlists.created_by
。