// If bitmapdata is the byte array then getting Bitmap is done like this: Bitmap bitmap = BitmapFactory.decodeByteArray(bitmapdata, 0, bitmapdata.length);