New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I set the preview size? #527

Closed
enlob opened this Issue Dec 28, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@enlob

enlob commented Dec 28, 2015

I'm using zxing on android via intent. I have followed the instructions of JourneyApps to include zxing in Android Studio. This means I simple call the initiate method of IntentIntegrator to start the scan. But when it starts it goes in 640x360 resolution. I need to change it to 640x480. I think I found the config file where this information is defined: it should be CameraConfigurationUtils.java and I should edit the MIN_PREVIEW_SIZE. But I have no idea how to integrate zxing in my project so that I can edit that file. I also would need to set the zxing activity to fullscreen and to do so I need get inside the activity, as I'm not able to achieve it via intent now. Thanks for help.

@srowen

This comment has been minimized.

Contributor

srowen commented Dec 28, 2015

(This is for reporting bugs and suggesting changes, rather than questions.) The best supported resolution is automatically selected. You can't control it. You do not integrate the code directly with intents.

@srowen srowen closed this Dec 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment