如何列出Android的所有媒体? [英] How to list all media in Android?

查看:131
本文介绍了如何列出Android的所有媒体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要建一个专业的媒体播放器的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?

推荐答案

使用的<一个href="http://developer.android.com/reference/android/provider/MediaStore.html"><$c$c>MediaStore内容提供商。

Use the MediaStore content provider.

这篇关于如何列出Android的所有媒体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆