TylerMWise
(Tyler M-Wise)
December 13, 2020, 3:27pm
1
Hey There,
I am making a QR Scanner app, and I have got it working but I added a custom loading screen. For some reason when the timer ends and it goes to change pages it crashes the whole app. Could anyone tell me why?
Peter
(Moderator)
December 13, 2020, 3:28pm
2
Welcome, you have to give more info. What do you do in screen2. Show the blocks you use. Have you extensions in your app, how big are your assets, etc.
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 …
2 Likes
TylerMWise
(Tyler M-Wise)
December 29, 2020, 5:03pm
3
Hey Peter so sorry for late reply
This is the block on Screen1
This is Screen2. I do not been see anything here because it crashes as soon as this page loads
Peter
(Moderator)
December 29, 2020, 5:04pm
4
Do you use big assets like images in your app.
TylerMWise
(Tyler M-Wise)
December 29, 2020, 5:08pm
5
I don’t think so, I copied this over from my MIT app after I found Kodular and edited it a little bit tho
Peter
(Moderator)
December 29, 2020, 5:08pm
6
So no assets at all? Extensions used?
Peter
(Moderator)
December 29, 2020, 5:17pm
10
Your images are 7000 pixels big. Make them smaller like 100 pixels and see if that makes a difference. Images that are so big uses to much memory. That’s why it crashes i guess.
2 Likes
TylerMWise
(Tyler M-Wise)
December 29, 2020, 5:18pm
11
Oh wow, I did not know they were that large let me change them now
TylerMWise
(Tyler M-Wise)
December 29, 2020, 5:31pm
12
Thank you!! It is all working now
Peter
(Moderator)
December 29, 2020, 5:31pm
13
You should also read this topic.
Use different screens wisely
Before starting to create another screen, first you should think about is it really necessary? See also Building apps with many screens and SteveJG’s post about advantages/disadvantages , because in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed…
If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a wh…
2 Likes
TylerMWise
(Tyler M-Wise)
December 29, 2020, 5:34pm
14
Will do. thanks for the link
system
(system)
Closed
January 28, 2021, 5:34pm
15
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.