Reputation: 41
I know how to get a picture and how to show a picture in IBM Worklight using a Cordova plug-in.
I am now looking for information on how to read a barcode using the device camera across mobile platforms.
Upvotes: 1
Views: 995
Reputation: 814
Search Phonegap plugin ,such as this: https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner
Upvotes: 0
Reputation: 547
Just googled about the barcode scanner and found this. It seems to work for iOS and there is some info in the comments to make it work on Worklight 6.0.
Also, there is this IBM Redbook. Get the PDF file and look for the section "Creating the shell for the bar code scanner"; there are detailed instructions on how to configure the Barcode Scanner (it covers the Android part)
Upvotes: 3
Reputation: 373
Cordova has such plug-ins: See: https://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner or: https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner
Upvotes: 1