在android音乐播放器中如何获得专辑封面,请高手帮解答一下,谢谢!
------解决方案--------------------
获取MediaStore.Images.ImageColumns这里面的内容应该就是封面的图片信息了
具体获取参考
http://www.yddev.com/bbs/thread-68-1-1.html
------解决方案--------------------
- Java code
String selection = MediaStore.Audio.Media.IS_MUSIC + "!=0";String [] projection = { MediaStore.Audio.Media._ID, MediaStore.Audio.Media.ARTIST, MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.DATA, MediaStore.Audio.Media.DISPLAY_NAME, MediaStore.Audio.Media.DURATION };Cursor cursor = null;cursor = this.managedQuery(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, projection, selection, null, null);cursor.getString(0).toString();cursor.getString(1).toString();cursor.getString(2).toString();cursor.getString(3).toString();cursor.getString(4).toString();cursor.getString(5).toString();
------解决方案--------------------
android通过MP3路径获取MP3的album
http://blog.csdn.net/piaozhiye/archive/2011/03/29/6286665.aspx