Java tutorial
//package com.java2s; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.util.Base64; public class Main { public static Bitmap getBitmapFromStream(String stream) throws OutOfMemoryError { byte[] data = Base64.decode(stream, Base64.DEFAULT); Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); return bitmap; } }