Open akingyin1987 opened 8 years ago
To fix it, you need to change from mBuilder = camera.createCaptureRequest(CameraDevice.TEMPLATE_MANUAL); to mBuilder = camera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
@Blker After doing this,the texture rotated 90 degrees when I have token the first photo.What's wrong with it?
I don't know. I locked the activity in landscape when I used this.
To fix it, you need to change from mBuilder = camera.createCaptureRequest(CameraDevice.TEMPLATE_MANUAL); to mBuilder = camera.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);