[FREE] ScanView -ZxingView Version 2- Extension

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

Show us the error message.
Also, check about write/read permissions on different Android versions. :+1:
Maybe …

1 Like

@Emerson_Gregorio

You can try these extensions to fulfill your need, in the meantime, when I get some free time I will try to add image capture functionality to ScanView.

Or:

Feel free to try any of those extensions.
if it didn’t help. PM me.

1 Like

Hi, Thank you for the ScanView extension.
I have a question please.
Afterscan, how do I make the scanview screen goes away? I want option to turn off the ScanView screen but after start scan it just stay on the screen, eventhough I added the stopscan block to the afterscan block.

@CNPH_Biomed you can add a block to turn off ScanView layout visibility after stopScan block.

having same error! How to solve??

@song_editors
What is the error, please elaborate and explain what are you doing and if you can, post a screenshot of your blocks.

1 Like


why i am getting this error, not working in APK file also

@Shanmuga can you please try with another Vertical Arrangement?!

@Silver i think you need to update the extension as it’s not working in Android 13, i ask camera permission and it works in APK, but we can’t test in companion.

@Shanmuga Testing ScanView extension in Companion have issues since the first release, I couldn’t fix that issue back then and unfortunately now I have no free time to investigate it.

1 Like

If someone who successfully uses this extension, please show your blocks on how you got it to work?

Using the companion 1.5B.3 Fenix, I can use the scanner and successfully scan barcodes. When I compile and install the APK, I receive an error message: Runtime Error. Failed resolution of Lcom/google/zxing/BarcodeFormat;

I read above that I need to also use the internal scanner. Looking for successful blocks that someone was able to use.

how to scan from the image from gallery using this extension

have you fix this?

@hacibee
You can use ScanView 2.1 Version or above in order to scan a barcode from image.

You can use this block:
component_method

Example Blocks:
blocks

Test aia project file using ScanView 2.1:
scanview_2_1_scan_from_image.aia.zip (673.0 KB)

Test APK:
scanview_2_1_scan_from_image.apk (4.5 MB)

1 Like

i try on companion its okay, but why when it exported going error like this
Screenshot 2023-12-19 at 10.19.41