Phonegap Barcode Scanner
Asked Answered
D

5

15

I'm looking to integrate some sort of barcode scanner into a phonegap application. I just need to find out whether it is possible on all of the major platforms (iOS/Android/Blackberry/WP7)?

EDIT: By barcode scanning, I mean scanning a barcode through the camera.

Thanks!

Dipper answered 29/11, 2011 at 13:16 Comment(5)
Maybe this question helpsConchitaconchobar
Thanks, that answers the Android one. I also found an iPhone one, so the big question now is: what about blackberry and WP7?Dipper
For WP7 try thisConchitaconchobar
Ah, excellent. Not quite Phonegap, but a decent start. Blackberry seems to be more difficult.Dipper
It seems that the ZXing library is the way to go, but Blackberry will be a pain. Oh well!Dipper
S
34

We have made BarcodeScanner plugins available for:

Android https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner

iOS https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/BarcodeScanner

BlackBerry https://github.com/phonegap/phonegap-plugins/tree/master/BlackBerry/BarcodeScanner

We don't have a plugin for WP7 yet but I'll drop an email to Jesse and maybe he'll get to it as WP7 support is growing fast.

Sandry answered 29/11, 2011 at 14:47 Comment(4)
PERFECT. Thank you, exactly what I was afterDipper
May I ask how the current status is about this? Do you know anything about a release of a BarcodeScanner Plugin for windows phone? Thanks!Rutabaga
Sorry @Chips_100, you'd have to contact Jesse MacFayden (risingj.com) to find out more about WP7.Sandry
Any chance of updating the links? - they appear to have been re/moved.Memorabilia
O
9

Windows Phone Barcode Scanner Plugin in PhoneGap We have now the phonegap plugin for barcode scanner. You can check it here: https://github.com/phonegap/phonegap-plugins/tree/master/WindowsPhone/BarcodeScanner

Ontogeny answered 23/10, 2012 at 7:5 Comment(1)
I was unable to get it to work, and documentation and support is very poor for it.Mcguigan
C
5

Another option would be the Scandit barcode scanner SDK. Scandit comes with a PhoneGap plugin for iOS and Android (WP and Blackberry are not supported at this time), and there is a free community edition. Tutorials and demo apps are available here:

Scandit also decodes blurry images, which is important if an app needs to run on lower-end phones (such as many Android phones) or devices without an autofocus camera (iPad 2, iPod Touch, ...).

(Disclaimer: I'm one of the Scandit developers.)

Carlenacarlene answered 25/9, 2012 at 13:53 Comment(0)
A
1

In case this helps anyone: https://github.com/zeroasterisk/PhoneGap-BarcodeScanner-Example-iOS

Specifically:

Installed the plugin (in a handful of paths) but kept the one which worked. Implemented a basic JS scanner code to demonstrate functionality: auto-runs on load, auto-reloads on error, alerts on success/failure/cancel.

NOTE: the comments on the barcodescanner.js and index.js, both mention my customization of the define/require object paths. I could not get the demo/example paths to work, after several permutations.

(this is iOS only atm, but I plan on making an Android example too)

Acculturize answered 28/5, 2013 at 16:18 Comment(0)
Z
1

The Manatee Works Barcode Scanner SDK PhoneGap plugin can be found here: https://github.com/manateeworks/phonegap-mwbarcodescanner

The plugin supports Android, iOS, and Windows. UPC and EAN are free. Other symbologies can be evaluated for free. Our price is better than Scandit for the same quality (sometimes better). Our company is financially stable and not having to borrow money to survive.

(Disclaimer: I am a member of the Manatee Works team.)

Zion answered 17/1, 2017 at 17:16 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.