[FREE] ScanView -ZxingView Version 2- Extension

Hello!

I’m new to Kodular and I’m searching and trying out solutions (aka extensions) I might be needing in the future. The first one I’m testing out is the creation & reading of QR codes (and other codes). I downloaded the scanview.zip file posted earlier, and am now testing the included .aia file (via the companion app).

When I tried the “Create QR/Bar” button, I got an error, and the app reported it was because of EPERM (Operation not permitted). I’m aware that this is and Android 11 issue, and I’d like to ask for a solution/workaround for this, as this has been bugging me for days.

Thanks, @Silver and @vknow360 for the extensions.

Thanks for your replies.

Welcome to the community @mjolnir , sorry for the late response, please elaborate more, give us more informations about your issue.

is the issue in more than one device or is in your device only?

Try adjusting this block value:
component_method

With a float value from 0.0 to 1.0 the default is 0.1.

1 Like

This is occurring in more than one device. Five devices I tested, to be precise (2 different Xiaomi models: A6 and Redmi 7, Samsung A30, LG K30, Motorola G4).

I’ll test this setting in the same devices and post here. Thanks for your time.

Hi @Silver. Thanks for responding.

Here is what I did.

  • download the scanview.zip file mentioned above
  • extracted the contents
  • imported the .aia file extracted from the .zip file
  • connected to companion

on the phone running Android 11:

  • entered “test” to create the QR code
  • pressed the green Create Qr/Bar button
  • got the EPERM error.

I need help to make this work. I have not edited the blocks in any way.

Thanks very much!

Try changing path to one of the shared dirs such as /storage/emulated/0/Pictures/qr.png.

4 Likes

Yey! That worked! Thanks very much, @vknow360.

1 Like

The same thing is happen when I set front camera in Samsung Galaxy note 9. Runtime error Failed resolution of Lcom/google/zxing/BarcodeFormat. Can you tell me how to solved it?

@Super_Gbond
Which version are you using?!

Hi , @Silver.
I have the same error message. In one project the extension works with Kodular’s bar code component and in another project, it doesn’t. I’ve already removed the other extensions, one by one to check. But the error is still popping up and closing the app.

More details about the error, what I tried, what extensions I use, are in the private message.

Hugs

@Rogerio_Rios
I haven’t receive any PM from you…

In January 28
I cited the error above.:point_up:

And February 3

@Rogerio_Rios Please send me an aia file…

1 Like

Hi!
thanks for sharing this extension. It helped me in my project.

Can I somehow save the image of the moment of reading the QR Code? My project is to record the employee’s time and for security I need to keep his photo at the time of registration.

You need to search the community about the blocks : print screen , camera , save file.
:+1:

2 Likes

Emerson
Can you elaborate more? for any issues or updates PM me. Happy Koding!

Hi Silver,
Thanks for the answer.

We need to capture the employee’s image at the moment the QR Code is read. I need to save this image for inspection purposes.

Attached is an example of the image we need to save.

Thanks.

image

You need to take a picture while reading the QRCODE. In Component QRCODE there is an after scan event … fire the camera , save the image in your database. But, do you want this in the app?

1 Like

In Brazil, there are many frauds in the registration of working hours that the company can only protect itself with the registration of the image.

So we need to save the image.

I can save the image path in the database and move the image from the Tablet to a server.

I tried to use the camera to record, but without success.

Follow the code.

image


Hello @Emerson_Gregorio,

Can you elaborate more on what is happening in this stage, I am here to help you in this issue.

1 Like