Barcode scanning

3


but the scan itself is not working

Try my test project

scanviewTestExtn.aia (53.2 KB)

This will at least show the camera/switch is working and the camera is on...

Yours is working

You may need to simplify your blocks until you find a working state, then you can build back up, step by step, and test after each step, until you find what is causing the problem (this is called debugging...)

1 Like

Thank you and I will do so

Hello. When reading props in the database, firebase reads only up to a space. how do I read all the props? example props NAME: "Blue jacket" reads only the jacket

If you are not setting a string to a firebase tag using the firebase component, but calling the value back with the firebase component, then this will happen. You will need to add double quotes to your string before you send it.

Alternatively use the web component to return the value from a tag (although this does not provide for dataChanged events)

Hello, help me how to switch from one screen to another correctly so that at the end of the work, close the entire application with one click.

Search the community for switch screens

I found this @Anke extension very useful to close the application and leave no instance open when there are switchs between different screens »

And I found this 'Tribblehunter method' to make the switch between the screens, very functional *»

( * ) » Extracted from here » [App Inventor Tutorials and Examples: Multiple Screens | Pura Vida Apps]

To get out of the application, once its final process is completed, it is not necessary to use the [Close Application] Block (from the control drawer)... Just invoke the extension and call by [Close Screen] :pray:

Lito

@>-->---

Thanks, I've sorted out the screens. Now I have another problem. There is a text.csv on the flash drive. It is necessary to enter data from it into FIREBASE, I designate the data as //text.csv, but the program does not see them.
1

Do you refer to a USB Flash Drive?

@>-->---

yes

You will need to use this @Taifun extension »

But this has nothing more to do with 'barcode scanning'... :pray:

Lito

@>-->---

Thank you very much. I will deal with @Taifun extension

Error 908. Android 14.
I want to read the tovar.csv file in the DOWNLOAD directory
1
2
3
4

If your file tovar.csv, is not owned/created by your app, then you will need to use the SAF extension to read your file.

@TIMAI2 Thank you. I'm going to look for him.

Select list item: Attempt to get item number 2 of a list of length 1: ["No content provider: /Download/tovar.csv"]


the contents of tovar.csv
6
maybe SAF1 doesn't work with the CSV file