I Can switch my screen in companion app, but it creates problem when i install apk file when i click the start button my app crashes… please help if possible
Peter
(Moderator)
June 9, 2020, 9:57am
#2
Welcome, read the following topic carefully and then give more info.
Asking questions
To improve the chance of getting help on the forum please follow these recommendations when posting a question:
Do your homework first
Search for similar questions/answers on the forum. Try forum search and also Google your problem.
Try to solve the problem yourself, and describe what you have tried. It is much more rewarding to help someone who has tried himself first.
Post in the right categorie, post only once and do not steal topics
Make sure that you post your question …
1 Like
pepocero
(Pepocero)
June 9, 2020, 1:01pm
#3
Show your blocks
you can switch between screens like this:
1 Like
Peter
(Moderator)
June 9, 2020, 1:05pm
#4
This is the best way to switch screens
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
…
Yoshi
(KidKoder)
June 9, 2020, 1:11pm
#5
3 Likes
vknow360
(Sunny Gupta)
June 9, 2020, 1:27pm
#7
If I remember correctly then this method was discovered in mid of 2019
Both will work same @Peter (or I should say a bit better)
1 Like
More precisely: on February 12, 2019
(see my link above)
2 Likes
vknow360
(Sunny Gupta)
June 9, 2020, 1:37pm
#9
I think you have read it incorrectly…
The topic you shared was opened in Feb 2020
Oh, you’re right, I thought it was a long time ago.
1 Like
But I think the first time was on Feb 12th 2020.
Not really important, but now let’s get to the bottom of it …
vknow360
(Sunny Gupta)
June 9, 2020, 2:02pm
#12
I think no.We (I and @kartiktambi ) are using it since when it was invented by him.
Then please post a link to it, I’m curious now.
vknow360
(Sunny Gupta)
June 9, 2020, 2:28pm
#14
Sure.
[blocks]
This method is not working. Can anyone help?
1 Like
pepocero
(Pepocero)
June 9, 2020, 2:28pm
#15
I saw it in this post and it looked much better than anything else used. I loved it and since then whenever I have to change screens I use it
2 Likes
You should optimize performance on screen initialize