Quantcast
Channel: SCN : Discussion List - SAP for Mobile
Viewing all articles
Browse latest Browse all 5806

How to use Barcode Scanning in standard Fiori Client?

$
0
0

Hello,

 

As mentioned in http://help.sap.com/Download/Multimedia/pdf-fiori/SAP-Fiori_1.1-Client-User-Guide.pdf

 

Capture.PNG

Standard Fiori Client 1.1 is having the capability of Barcode scanning. I am working on android version of Fiori Client. I have downloaded standard Fiori Client from PlayStore in which I gave my launchpad url. Everything is working fine except when I am trying to invoke camera on click of some button in my UI5 code using

 

function scan() {

cordova.plugins.barcodeScanner.scan(scanSuccessCallback, scanErrorCallback);

}

 

function scanSuccessCallback(result) {

log(JSON.stringify(result));

}

 

function scanErrorCallback(error) {

alert("Scanning failed: " + JSON.stringify(error));

}


nothing is happening.


Regards

Varsha Agrawal


Viewing all articles
Browse latest Browse all 5806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>