Ananth Raj Singh
Ananth Raj Singh
I have tried this on Xiaomi Mi 5, Android 8.0.0 API 26
`mCaptureRequestBuilderFront = mCameraDeviceFront.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); mCaptureRequestBuilderFront.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_OFF); mCaptureRequestBuilderFront.set(CaptureRequest.CONTROL_AE_LOCK, true);` Try this while creating capture request for front or both cameras. This made the application work on a custom Quectel hardware running Android...
Hey @seann99, you are welcome. Did you try this: `mPreviewBuilder.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_OFF);` `mPreviewBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true);` `mPreviewBuilder.set(CaptureRequest.CONTROL_MODE, CaptureRequest.CONTROL_MODE_OFF);` If problem persists, mind posting the crashlogs?
Hey @seann99, I am not sure these are crash logs.
This application shows only preview as of now. I have developed an application that records video too, I cannot link it due to NDA. I might add that functionality in...