![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
contentprovider
Mars-xq
好记性不如烂笔头。
展开
-
ContentResolver query 参数详解
//构造方法:public final Cursor query (Uri uri, String[] projection,String selection,String[] selectionArgs, String sortOrder) //第一个参数:查询的uri Cursor cursor = contentResolver.query(ContactsCo原创 2017-05-05 16:59:32 · 3402 阅读 · 3 评论 -
Android-获取手机上的图片、视频、音频
ContentResolver query 的参数:public final Cursor query (Uri uri, String[] projection,String selection,String[] selectionArgs, String sortOrder)Uri :Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;//原创 2017-05-05 17:39:08 · 3567 阅读 · 0 评论