|OpenCV for Android 220.127.116.11 Includes New Tutorial|
See on Tutorial-5 example in OpenCV4Android SDK. It demonstrates how to implement custom camera control. It shows how to turn on camera color effects and change camera resolution. You can change focus mode in the same way.
Sample demonstrates how to implement custom camera control using OpenCV SDK classes. The main idea is to inherit from JavaCameraView or NativeCameraView class and implement any customization you want. For example, you can overload initializeCamera method and it will be used instead the same method in the base class.