如何列出Android的所有媒体?媒体、Android

2023-09-05 00:59:08 作者:盛夏之末

我要建一个专业的媒体播放器的Andr​​oid和需要一种方法来选择设备的歌曲。我喜欢内置的音乐播放器组都按艺术家/专辑,是东西我会写的或者是有什么我可以直接插上去免费获得该功能?

I'm building a specialized media player for android and need a way to select a song from the device. I like how the builtin music player groups everything by artist/album, is that something I would have to write or is there something I can just plug in to get that functionality for free?

什么是列出在手机上的音乐文件和在IDTAG信息的一些基本的分组?

What is the easiest way to list music files on the phone with some basic grouping by the idtag info?

推荐答案

使用的MediaStore内容提供商。

Use the MediaStore content provider.