HI. Multiple screen algo

Hi.

I want to go to Screen2 from Screen1 only once.

here is what I am doing.

When Screen1.initialize
if startvalue=0, then Open another screen Screen 2,
else if startvalue=1, call nextquestion

I go to Screen2, finish my activity on screen2.
Open another screen Screen1 with startvalue 1,

This works only once. Next time, it does not open Screen2, because start valuse remains 1

Instead of using Open another screen block again, you could simply use close screen block in screen 2. So, this will provide no start value to screen 1 and the screen will stay where it was when the other screen was opened.

see here how to switch screens correctly

The recommended method of switching screens in App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.