162
Views
1
Comments
[Barcode Plugin] Multiple Readings
Question
barcode-plugin
Mobile icon
Forge asset by OutSystems

Hello,

I am using the 2.1 version of the plugin and i need to do a random number of barcodes reading.

The best way i imagine this is without closing the camera on phone, every time it makes a reading gives a beep and i save the value.

Then i must have a way to tell the plugin i finished my readings and close the app and use the readed values.

Is this possible?


2018-06-19 09-34-03
flpmorais

You can't do it with the stock plugin.

You can read QR -> store QR in memory -> ask user if he wants to continue reading or he is done -> open plugin again if continuing, storing o db if done.

But this is a "workaround". If you want "the real thing", you will have to modify the stock plugin with "actual code".

Outsystems uses zbar. You should clone the oficial repo (https://github.com/OutSystems/csZBar) and work from there.

The you will need to change the code of zbar, I believe what you want to achieve can be done if you follow the general guidelines mentioned on this post:

https://stackoverflow.com/questions/12641345/zbar-batch-qr-code-scanning

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.