Barcode Scanning?

<< Click to Display Table of Contents >>

Navigation:  Forum >

Barcode Scanning?

Forum link

 

Pages: 1 2

 


 

05-23-2020, 08:52 PM:

 

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

 


 

05-23-2020, 08:55 PM:

 

JNP I think did bar codes.. I will ping him.

 


 

05-23-2020, 08:56 PM:

 

Also how are you needing to scan the bar codes? Upload? Camera? Bar code wand?

 


 

05-23-2020, 08:58 PM:

 

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).

 


 

05-23-2020, 08:59 PM:

 

Hi Shane, i use quaggaJS.

 

https://www.youtube.com/watch?v=WlvpYDY5u6c

 


 

05-23-2020, 09:03 PM:

 

scan the bar code how though? using a phone camera? or?

 


 

05-23-2020, 09:58 PM:

 

(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...e-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).

 

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).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

 


 

05-23-2020, 11:09 PM:

 

I quasi got the method on this page working:

 

https://www.sitepoint.com/create-qr-code...e-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

 


 

05-23-2020, 11:36 PM:

 

Maybe a demo app for the site is in order!

 

Dan

 


 

05-24-2020, 01:09 AM:

 

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