Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 923

Sap Fiori Client BarcodeScanner

$
0
0

Hi all,

 

I have to make an application that run from a launchpad in a sap fiori client (official,not customized).

 

First, I created the application with cordova and the barcodescanner plugin (https://github.com/phonegap/phonegap-plugin-barcodescanner) and it worked correctly.


But now I need to run that application from a launchpad as do the official retail applications such adjust-stock or transfer-stock.


These applications when executed from the SAP Fiori Client,  use the plugin barcodescanner (kapsel) to read codes from the camera.

 

I don´t know the difference between the two plugins, and I don´t know how to implement  this plugin kapsel from SAP web ide.

 

It seems that I need node, ant, cordova, SMP3 sdk and the Hybrid App Toolkit Connector to compile (and enabled as hybrid mobile project).

 

Is all this necessary? Are official apps precompiled  already? See if you can guide me.

 

I tried with the code of the cordova barcode-scanner, launching the app from sap fiori client

...

cordova.plugins.barcodeScanner.scan( function (result) {

  sap.m.MessageToast.show("We got a barcode\n" +

             "Result: " + result.text + "\n" );

...

but when launching the scanner, the camera fails.-> Problem with the android camera.

 

Thank you very much in advance.


Viewing all articles
Browse latest Browse all 923

Trending Articles



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