Java tutorial
//package com.java2s; //License from project: Apache License import android.graphics.Bitmap; import android.graphics.BitmapFactory; public class Main { public static Bitmap getImageFromByteArray(byte[] picture) { Bitmap bmp; BitmapFactory.Options options = new BitmapFactory.Options(); options.inMutable = true; bmp = BitmapFactory.decodeByteArray(picture, 0, picture.length);//, options); return bmp; } }