0

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.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
  • 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

1 Answers1

1

you can refer from here link

But it's possible maybe your phone is focusing on something else... since its autofocus. When you tap on the screen, it's like telling your phone to focus on that particular object.

yuzuriha
  • 465
  • 1
  • 8
  • 18