Skip to content
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

Scanner problems on Samsung devices #18

Open
cluck opened this issue Jun 17, 2017 · 6 comments
Open

Scanner problems on Samsung devices #18

cluck opened this issue Jun 17, 2017 · 6 comments

Comments

@cluck
Copy link

cluck commented Jun 17, 2017

The symptom I'm seeing is that pretixdroid is not able to read the configuration QR-code on my Samsung S4 Mini with an 8-Megapixel camera (the autofocus never focuses correctly, and instead continuously "pumps").

The software "Barcode Scanner" (https://www.github.com/zxing/zxing) instead is perfectly able to scan the code on the same device. Maybe it's worth thinking of integrating with this software via Intents?

@jfwiebe
Copy link
Contributor

jfwiebe commented Jun 17, 2017

Hi Claudio,
thanks for your comment! I also had similar problems like you which could be solved by changing distance to the code, moving and rotating etc., but I agree with you this can not be a permanent condition because it also happens with ticket codes and reduces you scanning capacity dramatically.

In my opinion, integrating an external scanner would result in a bad user experience for three main reasons:

  1. The user needs to download a second app
  2. switching tasks takes its time and it must be performed on every scan twice
  3. you can not see the image of your camera and the scan result on one screen

I think we should look into the ZXling libary (which we are currently using) and try to find ways to optimize the focus (focus on pressing into the camera image?).

Best regards,
Jan Felix

@raphaelm
Copy link
Member

raphaelm commented Jun 18, 2017

The symptom I'm seeing is that pretixdroid is not able to read the configuration QR-code on my Samsung S4 Mini with an 8-Megapixel camera (the autofocus never focuses correctly, and instead continuously "pumps").

I hear similar reports repeatedly over the last time, all of them are from Samsung phones (e.g. SM-J320FN), so I suspect something there.

The software "Barcode Scanner" (https://www.github.com/zxing/zxing) instead is perfectly able to scan the code on the same device. Maybe it's worth thinking of integrating with this software via Intents?

Intents is way to slow for this purpose, not an option. However, we already do use the scanning engine of ZXing (however, maybe not the latest version).

@raphaelm raphaelm changed the title Builtin barcode scanner unable to read configuration QR-code Scanner problems on Samsung devices Jun 19, 2017
@raphaelm
Copy link
Member

I just released 1.5 to the play store with an updated underlying library. I don't really expect this to be fixed, but please test it and let me know nevertheless.

@cluck
Copy link
Author

cluck commented Jun 23, 2017

Unfortunately this hasn't improved the situation yet.

The library for ZXingScannerView comes with sample apps, and I could confirm the issue using the simple and full views there.

But interestingly the custom view finder sample actually works!

@raphaelm
Copy link
Member

Okay, now it's getting really weird. I'll experiment with custom view finders then :D

@niko-h
Copy link

niko-h commented May 22, 2018

I am experiencing this with an HTC One, Android 4.4. Autofocus keeps "pumping", says "Nicht synchronisiert" in the bottom right of the screen.
Code is scanned instantly with another qr-code-scanner-app.
Tried to scan from various displays at different ranges and angles without any success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants