Send scan results to another screen

Hello again. I’m really excited with this app builder!!

I’m trying to do a QR scanner that shows URL content in another screen. What I have managed to now is to show it in the same screen but we need some more space so we would like to open the results ina webviewer in another screen named results. I can’t figure out how to do it even I have tried.

These are the blocks like I have it now, but I need to open results in another screen that I have created with webviewer2.



You cannot do what you hope to do they way you are trying Bruno.

You can either use virtual screens (so you don’t have to transfer the results of your scan to another screen ) or use a TinyDB to capture the info and then use it to provide the data on a second screen. This should help Tiny DB - Store and Retrieve #Confused The thread talks about how to work with the bar scanner results.

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.

There is a free programming course here and the aia files for the projects in the book are here:

How to do a lot of basic things with App Inventor are described here: .

Also look here and here for more tutorials.


1 Like

You don't have to use another screen for this.
You could hide the other Arrangements by setting visible to false.

However if you really want to open the webpage in another screen you can use these blocks:

Thanks for the answering so fast. I’m trying the hide approach and i’m doing it like this but it results are not showing in webviewer. Any idea?, these are the blocks…

Is the webviewer visible ?
Have you tested that the url from the scan a) is valid and b) works in a webviewer?

1 Like

Now its showing webviewer correctly and hidin elements at the same time. But Image1 keeps disappearing from time to time before scanning (PageLoaded). Thanks.