on 12-22-2016 2:57 AM
Hello All,
I am trying to implement bar code scanner using standard sap library "sap.ndc.BarcodeScanner".
But i am not able to fetch camera and scan it. Instead only Input Field is displaying.
Can anyone Please help me regarding this?
Hi,
The sap.ndc.BarcodeScanner is declared under the namespace sap.ndc. Here the "ndc" stands for Native Device Capabilities. Those APIs will use the cordova plugins to invoke the native devices functions, for example the Camera. The sap.ndc.BarcodeScanner will check the availability of cordova plugins. If the app is opened via browser, then BarcodeScanner will simply open a dialog and ask end user to manually enter the barcode. If the app is opened via a cordova application or SAP Fiori Client (which is built on top of cordova), then it will invoke device camera.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Were you able to solve this problem? I have the same issue.
Thanks, Marcos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.