S ST500 Active Member Licensed User Longtime User Jul 16, 2020 #1 Hi, is it possible to show progress or loading Screen (for example: Please Wait...) until the Main Acitivity is complete loaded? It should be displayed before the Main Activity will be complete started?
Hi, is it possible to show progress or loading Screen (for example: Please Wait...) until the Main Acitivity is complete loaded? It should be displayed before the Main Activity will be complete started?
DonManfred Expert Licensed User Longtime User Jul 16, 2020 #2 So you want to start another activity before main? This is not possible. Load a minimalistic layout at start. It will show up immediately. You can load any more complex layout then and replace the minimal layout later when finished loading. Upvote 0
So you want to start another activity before main? This is not possible. Load a minimalistic layout at start. It will show up immediately. You can load any more complex layout then and replace the minimal layout later when finished loading.
S ST500 Active Member Licensed User Longtime User Jul 16, 2020 #3 Hi DonManfred, thank you for your answer. I meant your solution with a minimalistic layout. But, how can I wait for loading until the compley layot is loaded? Upvote 0
Hi DonManfred, thank you for your answer. I meant your solution with a minimalistic layout. But, how can I wait for loading until the compley layot is loaded?
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2020 #4 The layout should be loaded very fast. Why is it slow? Upvote 0
S ST500 Active Member Licensed User Longtime User Jul 17, 2020 #5 Erel, I don't know.? The app starts so slowely. Upvote 0
tigrot Well-Known Member Licensed User Longtime User Jul 17, 2020 #6 Maybe an hardware issue? Another Task stealing processor time.? I have a smartphone almost anusable after it has been running for some day and I have to reboot to make it run again. Last edited: Jul 17, 2020 Upvote 0
Maybe an hardware issue? Another Task stealing processor time.? I have a smartphone almost anusable after it has been running for some day and I have to reboot to make it run again.
DonManfred Expert Licensed User Longtime User Jul 17, 2020 #7 ST500 said: Erel, I don't know.? The app starts so slowely. Click to expand... What about starting with posting all relevant code which runs in your main actrivity activity_create (and called subs) sub? Upvote 0
ST500 said: Erel, I don't know.? The app starts so slowely. Click to expand... What about starting with posting all relevant code which runs in your main actrivity activity_create (and called subs) sub?
S ST500 Active Member Licensed User Longtime User Jul 17, 2020 #8 That's possible, too. But when I Change from Activity2 to Main, so it takes some time. Maybe is a ardware issue really. Upvote 0
That's possible, too. But when I Change from Activity2 to Main, so it takes some time. Maybe is a ardware issue really.
S ST500 Active Member Licensed User Longtime User Jul 17, 2020 #9 Erel, I will send the code when I'm at home again. Upvote 0
Peter Simpson Expert Licensed User Longtime User Jul 17, 2020 #10 @ST500 you've not explained what your main activity is doing. Is it loading data from the internet, is it loading images, what task(s) exactly is your main activity setup to do when it is first fired up. It's a waste of time posting with absolutely no explanation about the purpose of your app. For example I can easily say that an app starts slowly, but if that app is trying to download a 10GB database from an online database server or processing hundreds of images, then that would explain why. You need to explain what the purpose of your app is instead of just saying that you will send the code to Erel when you get home. I'm more than sure that Erel has more important things to worry about. Upvote 0
@ST500 you've not explained what your main activity is doing. Is it loading data from the internet, is it loading images, what task(s) exactly is your main activity setup to do when it is first fired up. It's a waste of time posting with absolutely no explanation about the purpose of your app. For example I can easily say that an app starts slowly, but if that app is trying to download a 10GB database from an online database server or processing hundreds of images, then that would explain why. You need to explain what the purpose of your app is instead of just saying that you will send the code to Erel when you get home. I'm more than sure that Erel has more important things to worry about.
S ST500 Active Member Licensed User Longtime User Jul 17, 2020 #11 @Peter Simpson, maybe is the local database, that will be initialized. So when I'm at home I will send the code. Upvote 0
@Peter Simpson, maybe is the local database, that will be initialized. So when I'm at home I will send the code.