Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 SD 上有一个音乐专辑的 ListView。当我单击它时,我想制作另一个列表来显示专辑中的歌曲。如何仅为该特定专辑查询 MediaStore?
谢谢!
嗨,这可能对你有帮助......
使用 MediaStore.Audio.Media.ALBUM = 指定 where 子句
cur = managedQuery(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, proj, whereclause, null, null);