I am stuck on the camera preview. I used custom camera preview. but there is a problem in this preview. Camera is going blur in initial stage and when touch on screen it will be focused. but I want to camera preview is focusing from starting the preview. I have searched many question but did not get any resolving answer related this. I am beginner in android so please help me if anyone knows the answer of this question.
Asked
Active
Viewed 842 times
0
-
Check this page https://www.programcreek.com/java-api-examples/index.php?api=android.hardware.Camera.AutoFocusCallback . This should help you – JakSok Jan 16 '18 at 14:22
-
I have already checked this but my case is different I want to focusing on start camera before taking picture. – Parmita Koradiya Jan 16 '18 at 14:26