Base64Utils { public Bitmap base64ToBitmap(String base64) { Bitmap bitmap = null; try { byte[] bitmapArray; bitmapArray = Base64.decode(base64, Base64.DEFAULT); bitmap = BitmapFactory.decodeByteArray(bitmapArray, 0, bitmapArray.length); } catch (Exception e) { e.printStackTrace(); } return bitmap; }  static String encode(byte[] data); static byte[] decode(String s); String bitmapToBase64(Bitmap bitmap); Bitmap base64ToBitmap(String base64);  }
@Test public void base64ToBitmap() throws Exception { }