on 2019 Dec 05 1:13 PM
I want to implement a SAPUI5 web application in SAP Web IDE that can scann OR codes with the phone camera. I've tried using some JavaScript libraries like WebCodeCamJS, jsQR, but none of them worked for me (I mean that even the camera does not recognize the QR code or the camera does not open). I also tried with the sap.ndc.BarcodeScanner which works from Fiori Client, but it's not a reliable solution for me. I also read about Cordova plugin, but my app is web, not mobile.
Have anyone any idea how could I achieve that? Any solution is welcome. Thanks.
Hey Diana
Try to refer to the links as below
https://blogs.sap.com/2017/10/27/barcode-or-qr-code-scanning-functionality-into-sapui5-applications.... https://sapui5.hana.ondemand.com/#/api/sap.ndc.BarcodeScanner/methods/Summary
There is code in there for getstatusmodel and where you could get the scanned values. Note that this may not be device specific and should ideally work on both web and mobile being Fiori component Let me know if that helps
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.