Java tutorial
//package com.java2s; //License from project: Apache License import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.BitmapFactory; public class Main { public static Bitmap getByteArrayAsBitmap(byte[] bytesImage) { return BitmapFactory.decodeByteArray(bytesImage, 0, bytesImage.length); } }