Skip to main content
February 25, 2011
Question

QR Code Reader?

  • February 25, 2011
  • 2 replies
  • 2992 views

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 has been closed for replies.

2 replies

sbhave
Participating Frequently
February 14, 2013

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

Participant
April 19, 2021

i am interested. need your help

February 26, 2011

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?

Participating Frequently
February 28, 2011

Here's a couple of libs with examples:

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

http://zxing.riaforge.org/

March 2, 2011

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.