Antonio5
(Antonio)
August 19, 2021, 6:07am
#1
Hello community, I have a question, how do I close my application correctly? I have an application with 4 screens, but when I close the application. Only screen 1 is closed and the other screens remain open …
The Close Button, I have it on screen 1.
Follow this procedure while switching the screens
Hello
When switching between screens, between one screen and another, a white screen always appears. It takes less than a second.
I use one of the methods to switch between screens. I’ve tried other methods and it’s the same in all of them.
Is there any way to avoid that?
This is the method I use:
[switchScreens]
Taifun
August 19, 2021, 6:12pm
#3
switch screens correctly… then also closing will work…
for Kodular:
I see many issues done by users because they switched screens not correct.
This below is now just one of many other solutions:
[blocks]
If you dont open/close screens correct your app will get possible runtime errors.
Possible errors: (example)
Unable to add window -- token android.os.BinderProxy@45d459c0 is not valid; is your activity running?
Iam sure you don’t want that.
Then please do it in the future and switch screens correct.
General Tips and Tricks for App Inventor/Makeroid
…
Taifun
Cheatex
(Uwem Dev 🇳🇬 )
August 19, 2021, 9:01pm
#4
I think the best way is to End the application not close.
Taifun
August 19, 2021, 10:11pm
#5
the block is called close application
and as already said, without switching screens correctly, this will not work
Taifun
1 Like