Hello.
I've been playing with all the examples but I'm stuck with the continuous Autofocus. I can't get it on my HTC Sensation. Of course, the LogCat says : Requested Focus mode Continuous Autofocus. Not supported on this device. But I was sure it was supported. First of all, just by using the native camera app in both picture and video mode (I can see that it continuously tries to focus), then by digging Google (I didn't see a single page saying it was not supported). To clear my mind, I just built a sample app to list the Camera.getParameters().getSupportedFocusModes() and the available modes are (indeed) auto, infinity, macro, normal, so no continuous-auto. So my question is both hardware and software : how does the native Camera app continuously focuses without triggering an autofocus (it is not blurry then sharp, it is indeed continuously sharp) ? Is there a way to do this by code ? By some kind of blurry detection algorithm, with the help of OpenCV (I never used it...), by using sensors ? by a small piece of code that could be exposed in Vuforia or that we could implement by getting the amount of movement (rotation, scale, translate) applied to the GLSurfaceView ( modelViewProjection) ? It would not have to be executed every frame, something like every 2s should probably be enough. Or is it really necessary ? From my point of view, I think that it could increase the user experience...
Thanks for your answers.
Did hTC sensation support Continuous autofocus??
Anyone have conclusion or advices?