cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Barcode Scanning in standard Fiori Client?

Former Member
0 Kudos

Hello,

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

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182874
Active Contributor
0 Kudos

Hi Varsha,

This link should help you :

Regards,

Tejas

Former Member
0 Kudos

Thanks Tejas for your reply, In custom Fiori Client and in Kapsel based application I am able to do the bar-code scanning but since we don't have source code for Standard Fiori Client, We can not add any plugin in that manually and also it's written in standard doc that by default we have certain features in Fiori Client Bar-code Scanning is one of them but I am not able to implement that in standard one.

Regards

Varsha

former_member82178
Active Participant
0 Kudos

Hi Varsha,

Looks like barcode scanning is not available with fiori client 1.1.  Pls refer to below thread for latest update.

Thanks & Regards,

Madhu Sudhan