Android AutoFocusCallback is not being called or not returning

前端 未结 2 403
旧时难觅i
旧时难觅i 2021-01-03 05:46

I’m developing a barcode scanning app that has the following the functionality:

• Access device camera , preview camera on SurfaceView , and automatically refocus

2条回答
  •  借酒劲吻你
    2021-01-03 06:33

    You could just use override of the Camera.AutoFocusCallback interface. Or try to make "autoFocusCallback" varialbe static. It would help.

提交回复
热议问题