A QR Code image recognizer ANE for iOS & Android using ZBar lib.
Based on luarpro ZBar's ANE. We wanted to have a default implementation for iOS & Android.
Be careful, this ANE only checks for QRCode format. The ZBar library supports other formats. A future version should add argument for the format requested.
Note: This ANE doesn't manage camera stuff, it takes a bitmap data as an argument.
var zbar:ZBar = new ZBar();
zbar.addEventListener(ZBarEvent.SCAN, _zbarEvt);
zbar.decodeFromBitmapData(new qrCodeBitmap().bitmapData);
private function _zbarEvt(zbEvt:ZBarEvent):void {
trace(zbEvt.data);
}