hello friends, in my app there are two side menu layout
in screen one
on screen2
on close screen one
on close screen2
when i click home on second screen, screen one open but when i try to close an app, screen one reopen, how do i avoid that error ?
nyumbani is home screen
vknow360
(Sunny Gupta)
September 1, 2019, 12:06pm
#2
I think you are not switching screens correctly.
Try this method:
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
…
Opening an already opened screen is bad
thanks, u mean i should switch from screen 2 to screen 1 using home on side menu without reopen screen one ?
vknow360
(Sunny Gupta)
September 1, 2019, 12:23pm
#4
If I am not wrong then you are opening same screen from both screens.
thanks, sure there is no need to open screen1 when on screen1, i have removed that command and left with clickable icon,
but how do i move from side menu 2 to screen 1
vknow360
(Sunny Gupta)
September 1, 2019, 12:47pm
#6
Then we need some more blocks or maybe aia file.
vknow360
(Sunny Gupta)
September 1, 2019, 12:54pm
#8
Can you post blocks?
Actually I am a bit lazy in uploading and opening aia file
here are the remaining one
much thanks, this has worked
1 Like
system
(system)
Closed
October 1, 2019, 1:24pm
#15
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.