on 2019 Aug 15 3:11 PM
Dear fellow Sappies,
I am unsing the sap.ndc.BarcodeScanner in my application.
In my view I have:
<Button icon="sap-icon://bar-code" press="scanBarcode"/>
<Label id="label" text="Null"/>
scanBarcode looks like this:
scanBarcode: function(oEvent) {
sap.ndc.BarcodeScanner.scan(
var that = this;
function (mResult) {
if (!mResult.cancelled) {
var code = mResult.text;
that.byId("label").setText(code);
}
},
function (Error) {
if (Error !== undefined) {
MessageBox.error(Error.message);
}
}
);
}
My problem is that I do not want to use the Fiori client to access the application.
Therefore, it should be possible to use the barcode scanner in a browser using the device's camera.
Is it possible to do that?
Thank you for your help!
User | Count |
---|---|
66 | |
11 | |
10 | |
10 | |
9 | |
8 | |
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.