android.provider.MediaStore.Audio.Albums#ARTIST源码实例Demo

下面列出了android.provider.MediaStore.Audio.Albums#ARTIST 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: sctalk   文件: AlbumHelper.java
/**
 * @Description 得到原图
 */
@SuppressWarnings("unused")
private void getAlbum() {
    String[] projection = {
            Albums._ID, Albums.ALBUM, Albums.ALBUM_ART,
            Albums.ALBUM_KEY, Albums.ARTIST, Albums.NUMBER_OF_SONGS
    };
    Cursor cursor = null;
    try {
        cursor = contentResolver.query(Albums.EXTERNAL_CONTENT_URI,
                projection, null, null, null);
        getAlbumColumnData(cursor);
    } catch (Exception e) {
        logger.e(e.getMessage());
    } finally {
        if (null != cursor) {
            cursor.close();
        }
    }

}
 
源代码2 项目: quickmark   文件: AlbumHelper.java
/**
 * �õ�ԭͼ
 */
void getAlbum() {
	String[] projection = { Albums._ID, Albums.ALBUM, Albums.ALBUM_ART,
			Albums.ALBUM_KEY, Albums.ARTIST, Albums.NUMBER_OF_SONGS };
	Cursor cursor = cr.query(Albums.EXTERNAL_CONTENT_URI, projection, null,
			null, null);
	getAlbumColumnData(cursor);

}
 
源代码3 项目: school_shop   文件: AlbumHelper.java
void getAlbum() {
	String[] projection = { Albums._ID, Albums.ALBUM, Albums.ALBUM_ART,
			Albums.ALBUM_KEY, Albums.ARTIST, Albums.NUMBER_OF_SONGS };
	Cursor cursor = cr.query(Albums.EXTERNAL_CONTENT_URI, projection, null,
			null, null);
	getAlbumColumnData(cursor);

}
 
源代码4 项目: UltimateAndroid   文件: AlbumHelper.java
/**
 * 得到原图
 */
void getAlbum() {
	String[] projection = { Albums._ID, Albums.ALBUM, Albums.ALBUM_ART,
			Albums.ALBUM_KEY, Albums.ARTIST, Albums.NUMBER_OF_SONGS };
	Cursor cursor = cr.query(Albums.EXTERNAL_CONTENT_URI, projection, null,
			null, null);
	getAlbumColumnData(cursor);

}
 
 同类方法