chserofero
(Ujyaalo Nepal)
January 13, 2019, 10:41am
#1
Dear Creators,
When I press the back button of the 1st screen to exit the application, the mobile screen is blinking for 3/4 times and application has been crashed.
Help me to solve this please.
Thanks.
1 Like
Shreyash
(Shreyash Saitwal)
January 13, 2019, 10:45am
#2
It is because you are not switching screens correctly.
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
…
Edit : To exit application, use close application
block available under control section.
1 Like
chserofero
(Ujyaalo Nepal)
January 13, 2019, 10:52am
#3
Shreyash:
c
As ur comment, I already used that block.
When Screen1 back pressed >> close application
but its blinking nd blinking nd blinking
Shreyash
(Shreyash Saitwal)
January 13, 2019, 10:55am
#4
Have you checked the link provided by me in the above post?
chserofero
(Ujyaalo Nepal)
January 13, 2019, 11:02am
#5
This is the way what I did. can u tell me plz what is the mistake ??
Shreyash
(Shreyash Saitwal)
January 13, 2019, 11:05am
#6
You didn’t answered my question.
chserofero
(Ujyaalo Nepal)
January 13, 2019, 11:34am
#7
Yss I checked it. But I cannot find my solutions.
alrmailay
(Romil)
January 13, 2019, 11:35am
#8
This works to make sure that, but there must be other blocks
1 Like
Shreyash
(Shreyash Saitwal)
January 13, 2019, 11:50am
#9
Sometimes there’s a need to use some logic.
5 Likes
Shreyash
(Shreyash Saitwal)
January 14, 2019, 3:35am
#13
Argh! I’m tired of telling you man you are not switching screens correctly .
2 Likes
chserofero
(Ujyaalo Nepal)
January 15, 2019, 9:07am
#14
If like that, can u tell me what is the right way ??
GobhiVines
(Harsh Pratap Singh)
January 15, 2019, 9:16am
#15
i think its ur mobile problem
Peter
(Moderator)
January 15, 2019, 9:16am
#16
What is the problem with reading?
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
…
2 Likes
hammerhai
(Nathan)
January 15, 2019, 11:58am
#17
Have a cookie from CodeFund
Shreyash
(Shreyash Saitwal)
January 15, 2019, 12:06pm
#18
Mmm… Delicious Codicious!
1 Like
GobhiVines
(Harsh Pratap Singh)
January 15, 2019, 12:37pm
#19
Shreyash:
Codicious
its not codicious its, Kodicious