OnPreviewFrame data image to imageView
问题 i'm trying to get the byte[] from the preview of the camera, convert it to bitmap and display it on a imageview with imageView.setImageBitmap() i've managed to start the preview and display it on a surfaceView, but i don't know how to convert the byte[] data (that comes in Yuv format i think) in a RGB bitmap to display it on a imageView. the code i'm trying is the following: camera = camera.open(); parameters = camera.getParameters(); camera.setParameters(parameters); surfaceHolder =