I assume this could be solved by wrapping the JS library in something like PhoneGap and installing it as a native app?
Show HN: QuaggaJS, a barcode scanner written in JavaScript
11–20 of 28 posts
Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#12> Safari and IE do not allow the access to the camera yet, neither on desktop, nor on mobile. You can check caniuse for updates. I assume this could be solved by wrapping the JS library in something like PhoneGap and installing it as a native app?
Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#13Fast and accurate under Android/Firefox Mobile, will use it in the coming project.
Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#14This is great news. I just wrote a QRcode-reader Django widget to be used on a mobile browser, using the LazarSoft library ( https://github.com/LazarSoft/jsqrcode ). The library worked great, but the HTML5 bits turned out to be surprisingly painful. Camera selection works differently in different browsers - Android Chrome has an API, Firefox throws up a selection dialog every time. Mobile Chrome doesn't let you emit…
Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#15Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#16We did a quick mashup of our API and this to create a basic (but functional) mobile PoS using the phone camera as a scanner.
Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#17Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#18Invariant to scale and rotation in JS on mobile? That's fantastic! I just tested the Red Laser native app on my phone and it can handle scale/rotation too. But I never thought about rotation for the Red Laser app and always tried to align it properly between the [ ] brackets. I think apps that support scale/rotation should not show [ ] brackets but instead a central red +. Haven't dug deeply into how barcode_locator.…
Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#19This is great news. I just wrote a QRcode-reader Django widget to be used on a mobile browser, using the LazarSoft library ( https://github.com/LazarSoft/jsqrcode ). The library worked great, but the HTML5 bits turned out to be surprisingly painful. Camera selection works differently in different browsers - Android Chrome has an API, Firefox throws up a selection dialog every time. Mobile Chrome doesn't let you emit…
It would help a lot to get continous autofocus working in the browsers. Especially with barcodes, since their size requires the camera to be really close.
Re: Show HN: QuaggaJS, a barcode scanner written in JavaScript
#20There's also a port of ZBar using Emscripten / asm.js: https://github.com/yurydelendik/zbarjs and a hand-made port of ZXing by Wojciech Szela here: https://github.com/wojciechszela/zxingjs