Qr : Read and Create Qr/Bar Code offline


Recently there were some topics about generating qr code offline and storing on device and thus I got idea to create Qr extension.
It basically creates and reads qr and bar codes offline from file.

Latest Version: 1
Released: 2020-03-20T18:30:00Z
Last Updated: 2020-03-20T18:30:00Z





Just 4 method and 4 event blocks


A short documentation for the extension…
blocks (9)

Creates QrCode and raises event ‘QrCodeGenerated’ with response and filepath
Note: File Path should not be absolute like /storage/sdcard/qr.png.It should be like /qr.png

blocks (11)

Creates BarCode and raises event ‘BarCodeGenerated’ with response and filepath

blocks (3)

Decodes QrCode and raises event ‘QrCodeDecoded’ with result

blocks (4)

Decodes BarCode and raises event ‘BarCodeDecoded’ with result
Note: This will not work with BarCode generated with this extension


Aix File >>

Download Link1: Qr.aix (11.1 KB)
Download Link2: Qr.aix - Google Drive

Aia file>>

Download Link1: Qr.aia (31.1 KB)
Download Link2: Qr.aia - Google Drive

Apk file>>

Download Link1: Qr.apk (5.3 MB)
Download Link2: Qr.apk - Google Drive


A lot of thanks to @Kodular for this awesome platform…:heart_eyes:

6.Updates/Bug Fixes

ChangeLog Version 2

Bug Fixes/Changes

  • Replaced relative filePath with abstract filePath in DecodeQrCode and DecodeBarCode methods.But both Generate methods still use relative filePath.

7.Known bugs

  • Unfortunately extension is unable to work without having Barcode Scanner component dependencies so you will have to put a barcode scanner component besides this extension
  • You will have to ask for WRITE_EXTERNAL_STORAGE permission on devices running on/above android version 6.0 (Learn Why?)

8.Liked My Work/Support Me

Thank you for your love :heart:
As I have already said that my all (sometimes basic) extensions will be always free and I have no method to take donations (:innocent:) so sadly you can’t support me directoly.
Wait…but you can support me by downloading above files from this shortened link:

Download Aix: ShrtFly
Download Aia: ShrtFly
Download Apk: ShrtFly

Thank you :heart_eyes: :heart:



This is called creative works

1 Like

Fine job. Thank you.

Do you know any litterature about the exact algorithm converting text to QR code and v.v? (not mean sites or programs which convert input text).
I know the pattern for one-dimensioned bar code (EAN-13). If you could suggest something about QR code it would help me.

1 Like

Awesome work…can u provide test aia?

1 Like

Read complete post aia is available

1 Like

Ohh yes. I was confused due to the download titles. In both titles there is…Aix

1 Like

After generating apk file with your aia and tried in Redmi note 5 pro, The app is crashes immediately…

1 Like

Hi @The_K_Studio
It has been fixed and you can test it now.

1 Like

Your welcome.

Do you mean manual conversion?

I mean the mathematical pattern of how the position of little squares in the image are transformed to text and vv.
Like in EAN-13 bar code, the set of numbers are evaluated are trace vertical bars of a certain width, separated by blanks of a specified width.

1 Like

Sorry…I have not so much deep knowledge :worried:
But this can be useful:

1 Like

I was aware of it. It seems that algorithm of QR is much complicated than EAN-13. I didn’t manage to find any information more.
Anyway, thanks for your interest.

1 Like

I have granted permission…but

1 Like

It is working for me…

Which android version are you using?

Android 9, Redmi Note 5 Pro

1 Like

Can you try it on another device?

Same problem. Tried in Android 8

1 Like

Something is not right with the permission as I get the same error however, adding ask for permission block make it works


1 Like

Does anyone know how to use the external QR method? since the phone camera is not fast enough as the external reader.

1 Like

Thank you @Boban
I will try to fix it as soon as possible :heart_eyes: