Okay, this is driving me... insane.
I'm trying to implement a QR code reader in my iOS application (specifically for IPhone 4). I have tried THREE count em THREE different libraries and each one does not work. THEY ALL WORK PERFECTLY IN SIMULATOR BUT DO NOT WORK ON MOBILE DEVICE
1. I tried zxing bar code library which has an actionscript port.
On IPHONE 4: The application freezes (no error is thrown on remote debugging). I tried clipping the video source so not as big of a bitmap data is processed and it still freezes! (Actually the frames update maybe every 7-8 seconds)
2. I tried libspark's qr decode
Works perfectly in emulator.
On IPHONE 4: Same as Zxing... freezes (no error is thrown in remote debuggin).
3. Someone used Quasimondo's adaptive filter library to extend libspark's qr code library. I tried that and clipped the rectangle
On IPHONE 4: An error is thrown (via remote debugging) - one that isn't thrown in the emulator (it works perfectly in emulator). It APPEARS (although it's not easy to investigate) that the error is stemming from the air export not supporting pbj files (pixel bender/shaderjob stuff) - is that not supported in IPhone 4?
So it appears that there is a problem when you try and process bitmapdata on an IPhone... I've tried different render modes (gpu) and it didn't do anything for me.
DOES ANYONE know of any libraries that read QR codes? I really love developing ios stuff with AS3... Has anyone managed to use one of these libaries ??