Shyam
Shyam

Reputation: 881

How to implement zooming feature with zxing barcode reading application?

I'm having the zxing barcode reading application. I need to add zooming feature in the application, so that i can scan barcode from larger distance.

i.e. during scanning the barcode, it should be able to zoom the camera preview.

How can i do this?

Thanks.

Upvotes: 3

Views: 4145

Answers (1)

Sean Owen
Sean Owen

Reputation: 66886

Zooming doesn't really help, because it's digital zoom. In fact it tends to hurt scanning. It only helps by making the user hold back further, but you can do that with other UI prompts. But, it's not hard to set zoom. You set whatever zoom you want in Camera.Parameters in CameraConfigurationManager.

Upvotes: 1

Related Questions