cancel
Showing results for 
Search instead for 
Did you mean: 

Simulating Barcodescan functionality on browser

01-03-2021 4:20 AM
sun197895 Participant
1330 views 3 comments
0 Likes
SAP Managed Tags
Subscribe

Hi,

I have a SAPUI5 application which has the functionality to scan barcodes. This app is accessed by Zebra hand-held device. Now if I make any changes to the barcode scan functionality, how can I debug the app on the browser,.. may I know how I can simulate this ? In developer tools I tried to simulate it to mobile mode but then mobile mode simulation is not same as the hand-held zebra device.

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

RamyaC
Explorer
0 Likes

Hello,

Try using third party library Zxing.js to scan Barcode, QR codes.It works well without the need for fiori client.

https://blogs.sap.com/2021/02/01/native-js-zxing-scanner-in-sapui5/

Regards,

Ramya

S_Sriram
Active Contributor
0 Likes
sun197895
Participant
0 Likes

The question is not about debugging SAPUI5 application. Its is about how to debug a barcode scan listener event on a browser using F12. Simulating it to mobile device on the browser (F12) is not helping.