I want to scan barcodes using Android Phonegap. How can I do this ?
Check out the PhoneGap barcode tutorial here. It will take you step by step to creating a sample app with zxing via the PhoneGap plugin from purplecabbage.
- You would have to build a Phonegap plugin which implements the zxing library.
- Or use the pre existing BarcodeScanner plugin which is MUCH easier.
来源:https://stackoverflow.com/questions/5840996/how-to-read-barcodes-using-android-phonegap