_data, вероятно, не в формате JPEG. Вы вызывали Camera.Parameters.setPreviewFormat (PixelFormat.JPEG)
перед вызовом предварительного просмотра?
I set the PreviewFormat with Camera.Parameters.setPreviewFormat(PixelFormat.JPEG) before preview,but it seems that it can't really set the previewformat...... By the way, the default format of the preview is YCbCr_420_SP....