Use camera and barcode scanner of tablet on webpage

We need to build a front-end application which will run on a windows tablet.

In this application the users should be able to use the camera and a barcode scanner.


Is this possible on a web application in Outsystems?

Hi christopher torfs,

Hope it will be possible on web applications to scan the barcode. They are some components on forge to scan the barcode.

https://www.outsystems.com/forge/component-versions/1692.

Regards,

Koushik Prathi

christopher torfs wrote:

We need to build a front-end application which will run on a windows tablet.

In this application the users should be able to use the camera and a barcode scanner.


Is this possible on a web application in Outsystems?

Hi Christopher,

You may use HTML5 + Javascript to use the camera and Barcode scanner

To use the Camera:

<input type="file" accept="image/*" capture="camera" />

User barcorde:

https://www.codepool.biz/html5-barcode-reader-javascript-webassembly.html


Try to search in forge components if already has a component to do that.


Hi Christopher,


At the moment OutSystems does only have a native mobile plugin for BarcodeScanning. Luckily we have a lot of developers publishing their good additional functionalities to the Forge (so you don't have to do it yourself). There i see Miguel Meireles created a the SimpleQRCode Reader plug-in. The easiest solution for you is to install this plug-in and check if it does the job for you.

Please keep in mind that not all mobile browsers support camera control. Check https://whatwebcando.today/ for to see if your browser (but more important: your users' browser) supports it.

Hope this will help you ;)