![]() |
|
Barcode Scanning? - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Barcode Scanning? (/thread-1690.html) Pages:
1
2
|
Barcode Scanning? - ShaneStump - 05-23-2020 Howdy All! I have been trying to get my customers to use barcode scanning for years on e-tickets, printed tickets, etc and I never could get a taker. Now with the Coronavirus and the need for touch-less / less contact, everyone wants it yesterday. In the past, I tried using CGDevTool's mask edit control, and to be honest, I don't remember how it worked as the customer I did it for 5+ years ago didn't have a very good Internet connection and so I abandoned it (and I don't use CGDevTools anymore with IW). In a perfect world, I would implement this as a FireMonkey app for Android/IOS/Windows but I need it yesterday. I can take VCL versions out of my main application, create a new REST api for validation, and create a stand-alone Windows application. Problem with this is that there aren't many good / affordable Windows tablets. In 2020, the obvious solution would be for to create an IW page accepts a barcode and sends it to the server for validation. The problems I have with this method are: 1) I am NOT a javascript / jquery expert, 2) Keeping the focus in the input control and having the barocde parsed realtime (i.e. in javascript) I have seen javascript libraries out there and I was wondering if anyone has or knows of a IW component that wraps one of these javascript libraries into something usable / useful for the rest of us? I am looking for something like: https://serratus.github.io/quaggaJS/ All the best, Shane RE: Barcode Scanning? - kudzu - 05-23-2020 JNP I think did bar codes.. I will ping him. RE: Barcode Scanning? - kudzu - 05-23-2020 Also how are you needing to scan the bar codes? Upload? Camera? Bar code wand? RE: Barcode Scanning? - ShaneStump - 05-23-2020 To be honest, the reason I want to use an IW solution if possible is it would allow my customers all the above (I am guessing). For my purposes, I just need a 'scan bar code dialog to pop-up', scan the bar code, and call an event for processing with the barcode text (not the image). RE: Barcode Scanning? - Jose Nilton Pace - 05-23-2020 Hi Shane, i use quaggaJS. https://www.youtube.com/watch?v=WlvpYDY5u6c RE: Barcode Scanning? - kudzu - 05-23-2020 scan the bar code how though? using a phone camera? or? RE: Barcode Scanning? - ShaneStump - 05-23-2020 (05-23-2020, 09:03 PM)kudzu Wrote: scan the bar code how though? using a phone camera? or?Howdy All! I just found this and tested it with its example and it works: https://www.sitepoint.com/create-qr-code-reader-mobile-website/ I just need to figure out how to connect all the dots on one of these solutions. I will have a look a the youtube video (thanks)! Shane (05-23-2020, 08:58 PM)ShaneStump Wrote: To be honest, the reason I want to use an IW solution if possible is it would allow my customers all the above (I am guessing).Jose! I saw that video earlier but it didn't have any code behind it. Do you have a simple IW app that shows how to integrate / use it in your IW application? Thanks in advance, Shane RE: Barcode Scanning? - ShaneStump - 05-23-2020 I quasi got the method on this page working: https://www.sitepoint.com/create-qr-code-reader-mobile-website/ I just need to see if I can spruce it up and add a few event handlers of my own. I will keep everyone posted as I think this might be useful to others. All the best, Shane RE: Barcode Scanning? - DanBarclay - 05-23-2020 Maybe a demo app for the site is in order! Dan RE: Barcode Scanning? - ShaneStump - 05-24-2020 Dan, I will see what I can do once I finish getting it wrapped around my head. These days I basically write a class that wraps the functionality and then sub-class a TIWBS4Label at run-time. All the best, Shane |