开发者

MediaStore.Audio.Albums._ID is distinct by song

String[] projections = { MediaStore.Audio.Media._ID,
                MediaStore.Audio.Media.TITLE,
                Media开发者_运维知识库Store.Audio.Media.ALBUM,
                MediaStore.Audio.Albums._ID,
                MediaStore.Audio.Media.ARTIST,
                MediaStore.Audio.Media.TRACK,
                MediaStore.Audio.Media.DATA };

Shouldn't MediaStore.Audio.Media._ID by the id field for the song, and MediaStore.Audio.Albums._ID be the id field for the album? What I want to see is a common ID field for all songs on an album. What is the correct field to use?


MediaStore.Audio.Media.ALBUM_KEY is unique per album

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜