Skip to main content
Feb 25, 2011 7:24 PM UTC
Question

QR Code Reader?

Anyone successfully written a QR reader with AIR that runs on a mobile device? I have an HTC DesireHD here for testing. Opening the camera alone is fine... but trying to process the image will inevitably require a force close. I'm using the logosware qr classes that everyone seems to use... and reading a code works relatively well on my desktop - but on the phone it's a different story. I've tried processing the image on a per frame basis, and every 1/2 second with a timer and it doesn't seem to matter... anyone have any tips/tricks or pointers?


This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

sbhave
Participating Frequently
Feb 14, 2013 6:32 AM UTC

Hi

I have written ANE version for ZBar that works on Android and iOS over same ActionScript API. It works similar to CameraUI i.e. I open Native Activity/ViewController that scans and sends the data to AIR app as an async event.

I have developed this for one of my projects. If anyone is interested revert back on this thread.

Regards,

sbhave

Translate
Participant
Apr 19, 2021 7:16 PM UTC

i am interested. need your help

Translate
Feb 26, 2011 7:20 PM UTC

Anyway, I've changed my tune after talking with a dude at work about this and I'm leaning to using something like neoreader to run the QR codes, and go to a web site and then doing the remainder of the app using PHP/HTML.

So my question now... I am looking for a QR code reader as fast as neoreader that would read some variable from a config file and append it as a query parameter to the url read from the qrcode.

So, if the reader reads www.someKindOfRedemption.com from the qr code I want it to read the config and go to something like:

www.someKindOfRedemption.com?pw=1h9mLk01

Anyone know of any reader that would do this?

Translate
Participating Frequently
Feb 28, 2011 10:00 PM UTC

Here's a couple of libs with examples:

http://www.libspark.org/svn/as3/QRCodeReader/trunk/sample/ReadQrCodeSample.as

http://zxing.riaforge.org/

Translate
Mar 2, 2011 5:21 AM UTC

The first one you gave uses the logosware classes - which is what I already tried. Like I said, it works "ok" on the desktop but not good on an android device. Least not the one I tried. It works, but nothing like the lightning quick reading of neoreader. I just did a php backend and the project ended up good. Flash wasn't the right tool for this - yet... I do hope that changes.

Translate