How do I decrease camera focus time while scanning QR code?

nasti_crop report abuse

I want to use https://github.com/dm77/barcodescanner as a tool to scan QR codes. But when I try this in app, it shows that camera focus time is 1000L. I guess, this is not an optimal parameter for all phones. How should I change the focus time in my case?

Answers

andyholemb report abuse

nasti_crop, are you using .NET for this?

nasti_crop report abuse

yes

andyholemb report abuse

You have to create a class that extends from ZXingScannerView and Override setupCameraPreview and setAutoFocus. After that, you must use this new class as a replace of ZXingScannerView.

Add Answer

Need support?

Just drop us an email to ... Show more