Here's a great tutorial on using Phonegap with the ZXing barcode scanner plugin.
The phonegap plugin does not work with Phonegap 1, so the following fixes is required:
Remove line107 from barcodescanner.js:
PluginManager.addService("BarcodeScanner","com.beetight.barcodescanner.BarcodeScanner"); |