2 Replies Latest reply on Dec 5, 2018 11:50 PM by Darryn Campbell

    DS4308 Scanner providing input to web app - how to get started?

    Jennifer Bland

      I was given a DS4308 scanner that we use in our plants worldwide. I need to create a web application that users can use that will have an input field and when they scan I capture what is scanned into the input field to save in a database. I will be using JavaScript for this application. The app will run in a browser on a computer/tablet/laptop. It will not be an Android app but a browser app.

       

      I followed the example in the enterprise browser scanner example at Barcode API Tutorial - Zebra Technologies TechDocs

      When I open the barcode.html file in my browser it generates an error message: Uncaught SyntaxError: Unexpected token o in JSON at position 1 for the ebapi-modules.js file that is imported in the script tag.

       

      Any suggestions on what I am doing wrong? Is the enterprise browser the correct API/SDK to use to create a web app that will collect data scanned in by the scanner?