- This topic has 23 replies, 8 voices, and was last updated 11 years, 11 months ago by Yann.
-
AuthorPosts
-
geebeeMemberThis message has not been recovered.
support-michaelKeymasterThis message has not been recovered.
tiuleepaMemberThis message has not been recovered.
support-michaelKeymasterThis message has not been recovered.
geebeeMemberNow that the Android project has been released, any idea when integration with the Phonegap Bar Code scanning is going to happen? It’s been a few months since I initially asked and I’m hoping we’re just around the corner on this one.
geebeeMemberAre we any further along on implementing barcode scanning?
support-octavioMemberHi geebee,
We haven’t forgotten. Barcode scanning support is planned for late this summer/early fall timeframe. We are building out widgets and apis based on popular demand and we have to knockout a few other widgets and apis that are ahead of barcode scanning.
geebeeMember-Barcode scanning support is planned for late this summer/early fall timeframe-
How realistic is this? We were looking at early spring before. Also, since you mention other widgets, what other ones are in the pipeline before barcodes?
support-octavioMemberHi geebee,
We are still moving forward with a series of new native services planned for this fall. We are working on an approach that will enable developers to have early access to the services as soon as we enable them rather than wait for full production readiness for all features.
geebeeMemberSo is there any progress or examples on scanning a barcode using the phonegap interface at this point? A simple one screen prototype would be fine, something with a scan button, and an alert that displays the barcode value that was scanned once the scanning process is complete.
Even some documentation pointing to the ability to do this would be great.
JustJohnMemberGeebee,
Just an idea, but you can use phonegap to open the camera so the user can take a photo of a barcode then grab that image and processing it using javascript to read it.
Phonegap doc for using the camera and grabbing the image
http://docs.phonegap.com/en/2.2.0/cordova_camera_camera.md.html#camera.getPictureJavaScript for reading a barcode image.
http://stackoverflow.com/questions/6869445/reading-barcode-from-an-image-using-javascriptHope that helps,
John
geebeeMemberNo chance you could build a quick proof of concept project that scans and displays the value?
JustJohnMemberIf you’re in no hurry I may be able to throw something together this weekend.
John
geebeeMemberThat would be fantastic. Looking forward to it.
JustJohnMemberHey geebee,
See the attached project. This is the best I could do. The js function for reading barcodes is flaky so it barely works. Maybe there is another js function out there that can work and you can just swap them. The rest of the app works just fine.
Click the Take Picture button and the camera opens up, allows you to take a picture, edit and keep or retake.
Once the pic has been accepted it displays in an image tag and the data is then passed to the barcode javascript function for translation.
If you have any questions let me know but the comments are pretty self-explanatory. You will have to compile to a native app in order to run it properly.Good luck,
John
Attachments:
You must be logged in to view attached files. -
AuthorPosts