hi, i am trying to write some sort of music player but i can't extract
cover art for the audio files.
There is column MediaStore.MediaColumns.ALBUM_ART but when i try to
use it i got exception that there is no such column.
I am trying to retrieve the data using ContentResolver

ContentResolver resolver = getContentResolver();
Cursor cursor = resolver.query
(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,new String[]
{BaseColumns._ID,MediaColumns.DATA,MediaColumns.TITLE,AudioColumns.ALBUM,AudioColumns.ARTIST,AudioColumns.ALBUM_ART,null,
null, MediaColumns.TITLE);

So any ideas how can i get cover art for audio file

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to