title: How to display album art?
body: <p>I want to know how to display album art for albums using <code>android.provider.MediaStore.Audio.Albums.ALBUM.Album_Art</code>.</p>
  
  <p>I am extracting metadata from the path by using the following code which works fine for songs, but I just don't know how to display album art for albums/artists in general.</p>
  
  <pre><code>MediaMetadataRetriever mmr = new MediaMetadataRetriever();
  byte[] rawArt = null;
  float ht_px = TypedValue.applyDimension(
          TypedValue.COMPLEX_UNIT_DIP, 200, getResources().getDisplayMetrics());
  float wt_px = TypedValue.applyDimension(
          TypedValue.COMPLEX_UNIT_DIP, 200, getResources().getDisplayMetrics());
  BitmapFactory.Options bfo=new BitmapFactory.Options();
  try {
      mmr.setDataSource(songdetails.get(swapnumber).Path);
      StackBlurManager _stackBlurManager;
      rawArt = mmr.getEmbeddedPicture();
      if ( rawArt != null)  { 
          bitmap2 = BitmapFactory.decodeByteArray(rawArt, 0, rawArt.length, bfo);
          bitmap3 = Bitmap.createScaledBitmap(bitmap2, (int) ht_px, (int) wt_px, true);
  //...
  </code></pre>