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

@>-->---