Java tutorial
//package com.java2s; import android.graphics.Bitmap; import android.graphics.BitmapFactory; public class Main { public static Bitmap byteToBitmap(byte[] paramArrayOfByte) { try { Bitmap localBitmap = BitmapFactory.decodeByteArray(paramArrayOfByte, 0, paramArrayOfByte.length); return localBitmap; } catch (Exception localException) { localException.printStackTrace(); } return null; } }