Java Code Examples for android.provider.MediaStore.Audio.Albums#ARTIST
The following examples show how to use
android.provider.MediaStore.Audio.Albums#ARTIST .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AlbumHelper.java From sctalk with Apache License 2.0 | 6 votes |
/** * @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(); } } }
Example 2
Source File: AlbumHelper.java From quickmark with MIT License | 5 votes |
/** * �õ�ԭͼ */ 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); }
Example 3
Source File: AlbumHelper.java From school_shop with MIT License | 5 votes |
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); }
Example 4
Source File: AlbumHelper.java From UltimateAndroid with Apache License 2.0 | 5 votes |
/** * 得到原图 */ 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); }