开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜