搜索在Android的一个所有的视频​​或音频文件有的、音频文件、视频、Android

2023-09-04 06:14:27 作者:一半回忆、一半继续

您好,我做了一个项目,如视频/音频播放器的Andr​​oid ,我想搜索所有的视频​​和音频在移动可让我怎么可以做这件事情?

hi i made a project like video/audio player in android and i want to search all video and audio available in mobile so how i can do this thing?

推荐答案

使用内容提供商查询媒体商店,请参阅文档在

Use the content provider to query the media store, see the documentation at

的http://developer.android.com/intl/fr/reference/android/provider/MediaStore.html

的http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html