Ask Your Question

Revision history [back]

CameraBridgeViewBase is base class for the two camera view implementations: NativeCameraView and JavaCameraView. If you want to change camera initialization, you need create your view class inherited from NativeCameraView or JavaCameraView and overload some initialization methods you want. In your case I recommend you to use JavaCameraView as a base class, overload initializeCamera method, copy its body from JavaCameraView and remove or re-implement focusing code. Do not forget to replace View class name in layout.xml from JavaCameraView on your own with full package name. See tutorial-3-CameraControl as an example of View class inheritance.