I queried for ALBUM_ART
and ALBUM
and dumped the cursor
final Cursor mCursor = getContentResolver().query(
MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI,
new String[]{MediaStore.Audio.Albums.ALBUM_ART},
MediaStore.Audio.Albums._ID + "=?",
albumID,
null
);
if (mCursor.moveToFirst()) {
DatabaseUtils.dumpCursor(mCursor);
mCursor.close();
} else {
mCursor.close();
}
Here is the cursor dump output
System.out: 0 {
System.out: album_art=/storage/emulated/0/Android/data/com.android.providers.media/albumthumbs/1445591197242
System.out: album=Samsung
System.out: }
System.out: 1 {
System.out: album_art=null
System.out: album=The Piano Starts Here
System.out: }
System.out: 2 {
System.out: album_art=/storage/emulated/0/Android/data/com.android.providers.media/albumthumbs/1446000978698
System.out: album=Maiden Voyage
System.out: }
System.out: 3 {
System.out: album_art=/storage/emulated/0/Android/data/com.android.providers.media/albumthumbs/1446001599761
One can see that album The Piano Starts Here has null
ALBUM_ART
System.out: album_art=null
System.out: album=The Piano Starts Here
However, having downloading a random music player from the Play store, I can see that somehow, this music player (among others but not all) is able find the album art somewhere on my phone. This art is not coming from some random image file in my music folder.
Where is it coming from? I didn't download this music onto my phone. I transferred it from my computer.