Qr : Read and Create Bar Code offline

Can’t think of any without checking logs.

I shall check tomorrow.

Okay. Thank you in advance :wink:

This app doesn’t generate qr code.
But other test app is constantly keeps crashing, with barcode scanner component.


E/AndroidRuntime( 2902): Process: com.sunny.qr, PID: 2902

E/AndroidRuntime( 2902): java.lang.NoSuchFieldError: No static field DATA_MATRIX_SHAPE of type Lcom/google/zxing/EncodeHintType; in class Lcom/google/zxing/EncodeHintType; or its superclasses (declaration of 'com.google.zxing.EncodeHintType' appears in /data/app/com.sunny.qr-1/base.apk)

E/AndroidRuntime( 2902): 	at com.sunny.qr.Qr.Writer(Unknown Source)

E/AndroidRuntime( 2902): 	at com.sunny.qr.Qr$3.run(Unknown Source)

E/AndroidRuntime( 2902): 	at java.lang.Thread.run(Thread.java:818)

W/ActivityManager(  505):   Force finishing activity 1 com.sunny.qr/io.kodular.vknow360.Qr.Screen1

Extension does have that class and class does have that field.

Check this apk:
Qr-1.apk (5.5 MB)

There was a mistake from my side that I uploaded wrong aix in repo.Fixed now. :+1:

1 Like

Thank you @vknow360
i have downloaded the latest version from github, after that it doesn’t compile, but when I remove the extension, the compiler works. Is it not compatible with barcode scanners?

Yes it is not compatible with barcode scanner component.

Thank you. I hope the kodular team fix the fenix as soon as possible :smiley:

Actually no, if you are talking about component and extension conflict. Because both use same library, just extension uses a higher and latest version.
However, you can use ZxingScanView extension (the one without any lib) instead of Barcode Scanner component.

ok i will try tomorrow. Thank you for your help @vknow360 :grinning:

If you still have issues can i have the extension files you might need to recast them

Anybody please recast it. I cant. Mac OS. (((

I recast, and they no need to recast, but not work

Can get sample aia for new version


It never used any Android support class.

That’s how it works. I forgot about ASD

I found 3 issues in the latest version

  1. when we added the logo in QR it is not working (the generated Qr is not scalable )
  2. " *This property forces encoder to use the specified shape" this property is not working for me
  3. when I update the extension in the already used project app will be not created.

Is there any solution for this or not?

Thanks for creating this beautiful extension for free. :pray: :pray: :pray:t2:

Can you pm me a sample aia showing all of the above behaviours?

Sorry for being late.

You can’t expect the logo to be in high quality when the image actually is not.

Yeah, that’s what its description says. It is an experimental property.

You can’t use extension together with Barcode Scanner component.

can share new aia for aix version 5.1 please…

Can you read the first post please? The link is there.

How can I use the logo path?

thank you so much

ChangeLog Version 5.3

  • No external deps required
  • More accurate and faster results
  • Aix sized reduced to 378 Kb