-
Notifications
You must be signed in to change notification settings - Fork 703
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
Unable to scan anything #98
Comments
@CStroh which Nexus 7 do you have, the 1st or 2nd gen? Also, try setting the AutoRotate = true like this: var opt = new MobileBarcodeScanningOptions() { AutoRotate = true };
scanner.Scan(opt); I recently changed how the rotation is detected and autorotate isn't on by default now, so curious if that's causing an issue for you (maybe your device is not returning the same orientation that the code is expecting). |
Hi @Redth and @CStroh - just thought I'd throw in that I'm scanning standard barcodes successfully with this component both on my Nexus 4 and my Nexus 7 2nd gen. I compiled in the latest code on 3/21/14, the 494c6dc version. So that code seems to work fine on my two devices. I didn't try the sample app directly. Quick disclosure: My app does include the code from PR #90, and I'm scanning with the camera at 800 x something instead of the default. I wouldn't think that would make a difference, but thought I'd better mention it. |
I also experience the same problem. I have tested with my Nexus 4 and with a Sony Experia Z1. Tested with both my application and the sample application. (Added the @Redth code aswell) |
Thanks for the comments! Unfortunately, I won't be able to test this until tuesday. |
Same Problem on my side. Tried to debug the Sample.Android solution. I can compile, deploy and debug the source code within the Sample.Android project. But breakpoints within ZXing.Net.Mobile.Android won't hit. So can someone tell, what to do, to be able to debug this component.
This is what i see in the Output: Loaded assembly: /data/data/ZxingSharp.MonoForAndroid.Sample/files/.override/ZxingSharp.MonoForAndroid.Sample.dll As you can see, the code processingTask = Task.Factory.StartNew (() => |
I've just been running into this problem as well. It appears as though the statement in ZXingSurfaceView.cs on line 156
is always returning as lastPreviewAnalysis is set using DateTime.Now in the constructor not UtcNow. I changed it to use Now on my one and now it scans. |
That work for me, thank you! |
Thanks guys for finding this one! |
Hi,
for some hours I am trying to get this thing working, but to no effect.
I am working with a Nexus 4 and tried to scan QR codes and standard bar codes with the sample app. However, nothing happens. No exception, but also no recognition of codes.
With a Nexus 7 it is not working, too.
I know this is not much information, but I have no idea what is going wrong.
Best regards
The text was updated successfully, but these errors were encountered: