Barcode scanner using device camera (QuaggaJS) RRS feed

  • Question

  • Hi,

    I'm revisiting an old project where I used the Lightswitch HTML client. My client has suggested that they maybe start using barcodes on their assets that they're storing information about in the db and have asked me about the use of the device camera for scanning barcodes.

    I've found a JS library called QuaggaJS (http://serratus.github.io/quaggaJS/) and wondered if anyone had come across it before either in a LS enviroment or other type of enviroment. Have you had any success in using it?

    If not, has anyone else implemented such a JS library for doing as my client requests?

    Any pointers or advice would be appreciated.



    Thursday, March 19, 2015 2:29 PM


All replies

  • HI Paul,

    For this Barcode scanner issue, we discussed it before, and we can use build-in camera to Shoot and upload Photos, and use JavaScript program jsqrcode to decode the QR/barcode. 

    If you want to use JS library- QuaggaJS (http://serratus.github.io/quaggaJS/), you can also test it on your side.

    Resource available:


    Hope it helps.



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Angie Xu Tuesday, March 31, 2015 1:36 AM
    Monday, March 23, 2015 8:28 AM
  • Hi,

    Just wondering did you ever manage to get your idea working.

    I've seen a few examples of using the camera to capture and upload images in lightswitch HTML clients running on Android. In my mind I thought it would be a similar process to invoke the barcode scanner.

    Although Ive seen many people easking the same question I've yet to see a working example.

    by the way I'm not a pro developer just a hobbyist.


    Paul Samson

    Paul Anthony

    Friday, August 5, 2016 9:50 AM