Comments (18)
It seems I am having similar problems with HTC Wildfire S, Nexus 4, Samsung 10" tabs. Waiting for a solution on this. Thanks
from zxing.
I'm waiting for more info from someone with this device. https://code.google.com/p/zxing/issues/detail?id=1833
from zxing.
I can reproduce this with the Samsung Galaxy Tab 2 7.0.
Steps to reproduce:
- Enable screen rotation
- Flip to the right
- Disable screen rotation
- Open Barcode Scanner
- See screenshot
If bryancal is not reachable anymore I can test with BS+ if you want.
Another interesting behavior is that when you do not disable the screen rotation (step 3) the screen is flipped by 180 degrees:
from zxing.
That just looks like a device or sensor problem, right? Android thinks it is in the opposite orientation. Does anyone have a patch to suggest? AFAICT this is specific to the Kindle Fire.
from zxing.
I just tested with my app. The problem is that screen orientation is set to landscape
. It should be sensorLandscape
.
from zxing.
Ah I think you have it. So if you change this value, it works as expected? Yes, there should be no reason to not let it use either landscape or reverse landscape. I'll try it on my own device (not a tablet or Kindle) to make sure it behaves as expected for me too.
from zxing.
What android versions do you support? sensorLandscape was added in API level 9. There is also a userLandscape but a quick search did not reveal what exactly it does.
from zxing.
API 15+ so that is fine. It works OK on my phone and I see why it would
help the tablet situation where the natural landscape is not obvious. If it
works for the Fire I will commit it.
On Feb 26, 2014 12:44 PM, "ArloL" [email protected] wrote:
What android versions do you support? sensorLandscapehttps://developer.android.com/guide/topics/manifest/activity-element.html#screenwas added in API level 9. There is also a userLandscape but a quick search
did not reveal what exactly it does.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-36121002
.
from zxing.
It appears that this functionality is glitchy on Galaxy Nexus running API level 17. Since the latest update, my handset does this when the device is "upside down":
from zxing.
Not sure what to make of that. The app does not set any camera rotation
params and never has:
The only way a working device would do this is if the wrong rotation params
were set, so this looks like a device problem.
Weirdly it may be caused by a different problem with a different camera
param. Try all the workarounds in settings.
On Mon, Mar 3, 2014 at 7:40 PM, Sam [email protected] wrote:
It appears that this functionality is glitchy on Galaxy Nexus running API
level 17. Since the latest update, my handset does this when the device is
"upside down":[image: zxing-upside-down]https://f.cloud.github.com/assets/1361519/2313523/c6fa95e8-a30a-11e3-808b-3709d04aa4e0.png
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-36550099
.
from zxing.
Could it be solved using Camera.setDisplayOrientation?
from zxing.
I guess the point is, without calling that, it should never be in anything
but the natural orientation. That method is not called.
As a workaround, maybe that overrides it. But I suspect there is a deeper
problem, that the driver is failing to accept configuration that it says it
accepts. So the init is messed up.
This is not an app issue. To continue this, I'd have to see a proposed
workaround that does not affect other devices. Anything that affects
correct functioning of other devices to work around this is a non starter.
On Tue, Mar 4, 2014 at 2:26 PM, ArloL [email protected] wrote:
Could it be solved using:
https://developer.android.com/reference/android/hardware/Camera.html#setDisplayOrientation(int)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-36628390
.
from zxing.
You're right about this being a device issue.
I'm seeing the same problem with Galaxy S3 and Galaxy S4 handsets. Both phones are running API level 18.
from zxing.
has anyone resolved this?
from zxing.
Yes, this was patched and updated on the Play Store sometime around the 19th of March.
from zxing.
This is still an issue.
from zxing.
I am developing a camera handling library myself and I can confirm this is an issue on the Kindle Fire HDX 10. I also have the BarCodeScanner installed and the image is upside down. My library also has this problem. Not sure how can be resolved though. Very much appreciated if someone could provide some feedback on the issue. Tested on many other devices: Kindle Fire HD, Samsung Galaxy S3, Nexus 7, ... and none of these devices show this behaviour.
from zxing.
This is indeed still happening, on every device I can try.
from zxing.
Related Issues (20)
- Allow gen-delims and sub-delims HOT 8
- > That decodes as you expect with this library. The result is `https://qr.sbw.media/[0Li9` I think you're talking about something else, like an app and how it renders URLs. HOT 1
- pdf417 encode error java.lang.ArrayIndexOutOfBoundsException when using CHARACTER_SET ISO-8859-15 HOT 1
- Detector can't detector qrcode
- PDF417 reader early returns with multiple codes on a page HOT 2
- The QR code has black squares. HOT 1
- Don't decode QR_CODE. HOT 2
- scan record miss
- Why zxing can not decode this qrcode image? HOT 1
- Letters in Croatian ćčšžšđ HOT 1
- H
- Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=11664; index=11664
- MultiFormatReader unable to decode simple data matrix code (C#) HOT 1
- Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=11664; index=11664
- Page not responding : https://zxing.github.io/zxing/core/index.html HOT 2
- Open scue code
- Zxing is not working with PDF417 for south african driving licenses HOT 2
- issue about scanning
- com.google.zxing.client.android.encode.QRCodeEncoder.encodeFromStreamExtra HOT 3
- How to get zxingorg 3.5.3-SNAPSHOT entity package HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zxing.