开发者

How to specify query MediaStore.Audio.Media in Android SDK?

开发者 https://www.devze.com 2023-04-07 03:34 出处:网络
I have a ListView of a music albums that are 开发者_如何学运维on my SD. I want to make another list that displays the songs that are on the album, when i click it. How to I query MediaStore only for t

I have a ListView of a music albums that are 开发者_如何学运维on my SD. I want to make another list that displays the songs that are on the album, when i click it. How to I query MediaStore only for that certain album?

Thanks!


Hi this may help you.....

Specify where clause with MediaStore.Audio.Media.ALBUM =

cur = managedQuery(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, proj, whereclause, null, null);

0

精彩评论

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

关注公众号