cancel
Showing results for 
Search instead for 
Did you mean: 

Barcode scanner not working webide - sap.ndc.barcodescanner

0 Kudos

Hi,

am using the below code for barcode scanner. camera is opening but it isnot getting scanned. only 1 time i got the result when i scanned.

i have also included the library

onPress:function(oEvent){sap.ndc.BarcodeScanner.scan(function(mResult){
					alert("We got a bar code\n" +"Result: " + mResult.text + "\n" +"Format: " + mResult.format + "\n") ;"Cancelled: " + mResult.cancelled);},function(Error){
					alert("Scanning failed: " + Error);});}
0 Kudos

Needed on urgent base

gregorw
Active Contributor

If it's urgent then create an incident via the SAP Service Marketplace.

maheshpalavalli
Active Contributor
0 Kudos

priyanka.donakonda what's happening next time? any errors in the console?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

My Issue gotresolved..Thanks everyone for your quick response

0 Kudos

Hi Priyanka ... Can u provide me resolution for the issue

0 Kudos

Hi Priyanka ... can u share the resolution for this issue. I have used ndc barcode scanner in sap ui5. the camera is opening but when I scan a barcode nothing is happneing

WouterLemaire
Active Contributor
0 Kudos