Create an extension that can be used to scan barcodes using the ZXing library in BB10.
This should not be an community extension, this should be part of webworks api.
Reading QR/Barcodes is pretty much standard for all apps these days and in my opinion I think a native solution will perform better.
The Tablet-Extension which is using the ZXing library is not capable of reading most of the QR/Barcodes I tried, which is really frustrating. A BB10 version should perform better than that.
@splatterb0y Community Extensions for BB10 and BB10 WebWorks APIs are all native. For Barcodes, the issue is the camera and processor - the ZXing library is the same in every case. The PlayBook's camera is not autofocus, and this makes the biggest difference, followed by processing speed, which needs to be reasonably high for good performance.
@timwindsor So the playbook hardware itself is the problem with reading barcodes?
I have done little to no testing on PlayBook specifically, but an autofocus camera is pretty much essential for it to work well for anything besides basic QR codes. There is a similar problem with BlackBerry smartphones running 7.0. They work okay for QR codes, but only the ones with autofocus cameras (like the newer Torch series) can handle 1D or other types of barcode. They should all be using a similar version of the ZXing library, just ported to the different OS. When we work with Enterprise customers who need a barcode solution, we recommend the 9810 typically.
I have converted an android app that has this functionally built in. I have used it on both the Playbook and Dev Alpha A. As you mention, from my experience the Playbook's lack of autofocus camera it does not work very well. But on the Alpha A it works very well. The application is Springpad, but I dont know enough about android and its API's to know more than that.
Any progress on this one? :(
+1 for this to be implemented ASAP
Any progress? I am looking for this prior the BB10 launch :D
We are working on it. We don't have as much progress as I'd hoped by this time, but it's a very high priority.
Nice you give us an update on this one.
Thanks for this update! And thanks for that work you put into it!
Any progress? @timwindsor @astanley
We've done some groundwork that will help, and I've investigated a couple of development approaches. The way I had hoped to do it doesn't look like it's going to work, so I'm working on another approach.
Hi @timwindsor maybe this will help you?
Maybe you can record a image with html5 and pass the image into this JS until a barcode is recognized.
Any idea when the extension could be released ?
We did some good work on it on the weekend. I'm not certain how far we've got to go yet, but I should be able to track some status on it shortly.
To late for BB10 launch, but still nice to hear RIM has not gave up on this one. Thank you @timwindsor. 👍
Nice to know that you are actively working on it. Thanks @timwindsor ! Let us know how it's going ! (Maybe an early February release ? :) )
@timwindsor @astanley Any progess after having this open for 4 months now?
Well, so far we have been able to scan and parse out barcodes. So the most critical part is working at least in our rough prototype. The next major step is in giving the user some sort of visual feedback to aim the device. We've got a couple of strategies were looking at for the best experience and performance. I am really hoping to get it done in the next 2 weeks - maybe 3 for full polishing.
One of the limitations of ZXing is that it does not handle inverse (white-on-black) data matrix code. It would sure be nice if this effort would support inverse data matix codes (hint..hint...nudge...nudge).
Well it would be good to have atleast something before asking for specific things.
exactly what I thought! I have seen maybe a handful of white-on-black barcodes, so I think the basic scanning running would be a great start! Everything else is just on top of that!
I guess @timwindsor will give us an update on this one because 2 weeks passed now.
We've got a solution being reviewed for open sourcing right now.