Flash AIR Native Extension: QRCode reader/decoder which accept BitmapData, therefore you can design your own scanner UI, adding overlay image, without launch fullscreen native Camera UI
for Android, include the followings inside <android><manifestAdditions>...</manifestAdditions></android>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" />
<extensionID>com.kcly.ane.bitmapdataqrcodescanner</extensionID>
com.kcly.ane.bitmapdataqrcodescanner.swc
import com.kcly.ane.bitmapdataqrcodescanner.Scanner;
import com.kcly.ane.bitmapdataqrcodescanner.ScannerEvent;
...
scanner = new Scanner();
scanner.addEventListener(ScannerEvent.SCAN, onScanFound);
...
scanner.scan(bmpData);
...
private function onScanFound(evt:ScannerEvent):void {
trace ('onScanFound: ', evt.data);
}
If you want a continous scanning, you can use Enterframe, setInterval, Timer whatever you like to call scanner.scan(bmpData)
Native Extension template forked from https://github.com/saumitrabhave/qr-zbar-ane
ZBar 64-Bit version from https://markobl.com/2015/03/27/zbar-sdk-64-bit-for-iphone-6-and-ios-8-download/