Skip to main content
Inspiring
June 11, 2012
Question

QR Code reader on Mobile Device...

  • June 11, 2012
  • 8 replies
  • 23477 views

I'm desperate here -- I have no idea why I can't get this to work, but I really need some help...

I've tried writing a custom QR-Code reader app for iOS and Android, and I can't get any app any where to recognize a QR-Code...

It *seems* to run OK, but it just never decodes any data -- always comes back with "nothing decoded" if it comes back at all...

I've tried the  ZXing library available on Google, and I've tried the one at LibSpark.org.  Neither of them will ever detect a QR-Code, and the ZXing library runs so incredibly slowly that it's useless anyway -- 7 to 10 seconds to process one image and tell me there's no QR-Code in there, when I know full well there is?  Ridiculous!

So, has anyone out there actually gotten a QR-Code reader app to work successfully?  One where you DON'T have to "click" a button to take a picture, but where it will simply scan the video input and will auto-detect when a QR-Code is in the video frame?

If so, I'd REALLY like to ask you how you did it, and even see some source-code if at all possible...

Thanks a bunch!

Laurence MacNeill

Mableton, Georgia, USA

This topic has been closed for replies.

8 replies

Participant
November 22, 2020

Fortunately, there are apps where you can do this, just open playstore or the appstore, then type in search, "qr code scanner" and there will be a lot of apps which all work properly. I tried some of them and they work perfectly.

sbhave
Participating Frequently
December 5, 2014

Hi:

I have updated the Library with new Set of APIs So that,

You can place the Scanner Preview on the Stage(Similar to StageWebView) and have your own UX around it. Also Localize in the way application desires.

Participant
December 4, 2014

Hello. I have to do a barcode scaner app, so i tried to use this, but i can't get it to work.

I mostly get "Error #1014: Class com.sbhave.nativeExtensions.zbar::Scanner could not be found." at this point.

Edit : nvm, just had to include the ANE into the packages.

thanks anyway, some good pointers on this thread.

Participating Frequently
July 23, 2013

Friends, please I need example project

any

Thank you

sbhave
Participating Frequently
July 24, 2013

If you are familiar with intelliJ, i have migrated the repo to intelliJ on github,

https://github.com/saumitrabhave/qr-zbar-ane

It includes example as well

Participating Frequently
July 24, 2013

I am not familiar with intellij but will take a look.

Thanks

Paul

sbhave
Participating Frequently
February 14, 2013

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

Participating Frequently
February 14, 2013

Hi Sbhave

Congratulations on your ANE. I have been trying to do this for quite a while as you can see by my posts above. Afraid what I have is not quite good enough. Any chance of sharing your build ? I code in pure Flash and not Flex but I dont know if I can use your Flex code but am keen to try.

Thanks again

Paul Hinrichsen

sbhave
Participating Frequently
February 14, 2013

Cool. I will soon put the source code, binaries, samples and some docs on google code project. I will share the project link in a day or two.

Participating Frequently
July 22, 2012

Hi Laurence.

Send me an e-mail and I will mail my QR code reader source to you. It decodes very quickly however you need to programme an action upon read.

Paul

phinrich.at.nnr.co.za

Known Participant
September 14, 2012

Here is a QR Reader ANE for iOS only. It worked great for me. Very speedy. It comes with a Flex sample project.

Its very easy to translate to Flash Pro but still if it can save anyone some time, leave your email and i'll send you the sample Flash Pro project I created.

Now I just need an android ANE!

http://code.google.com/p/qr-zbar-ane/

Participating Frequently
September 17, 2012

Hi

Hope this reaches you.

Thanks for the post about the QR Code reader for IOs. Any chance of sending me the Flash Pro version.

Thanks

Paul

Participating Frequently
July 22, 2012

Hi Laurence .

I can mail you a working AS3 QR code reader if I had your e-mail address. I spent MONTHS looking for one. Eventually found one which worked. I modified it a bit and it still needs some work but it is very quick at decoding a QR code.

I see you posted about the camera issue with images lying on their side. I am desperatley looking for a fix here. Any ideas ?

My e-mail address is phinrich.at.nnr.co.za

Send me a mail and I can sent the QR code reader which I have put together.

regards

Paul

Inspiring
June 12, 2012

Wish I could be more help here...  but I tried to do it as well a few months back and kept hitting roadblocks. 

If you get anywhere with this ... can you PLEASE post how and an example maybe ?

Inspiring
June 12, 2012

I absolutely will post an example if I figure this out.  This has been extremely frustrating, and if I can help people avoid this mess, I'll be only too happy to do that.

L.

Inspiring
June 12, 2012

If there were only a world full of developers like yourself