This is my code that I use to save the image to a Bitmap. This piece of code is based on the code from CyanogenMod\'s camera app so I would assume it would work
Bitmap
Try this
Bitmap bmp = BitmapFactory.decodeByteArray(data, 0, data.length); imv.setImageBitmap(bmp); ByteArrayOutputStream bos = new ByteArrayOutputStream(); bmp.compress(CompressFormat.JPEG, 70, bos);