Cableguy Expert Licensed User Longtime User Apr 14, 2022 #1 Hi Guys and Gals I'm wondering if there's any inconvenient in creating/using/terminating an activity from a B4XPage? The Goal is to use teh mainB4XPage as "Lazy loading" of all my necessary resources, while showing a splash screen which duration will be variable. Thanks in advance
Hi Guys and Gals I'm wondering if there's any inconvenient in creating/using/terminating an activity from a B4XPage? The Goal is to use teh mainB4XPage as "Lazy loading" of all my necessary resources, while showing a splash screen which duration will be variable. Thanks in advance
angel_ Well-Known Member Licensed User Longtime User Apr 14, 2022 #2 Maybe this: [B4X] [B4XPages] Splash Screen B4A, B4i and B4J splash screen implementation. The implementation is different in each platform. 1. Don't miss the manifest editor code in B4A. 2. Don't use %y in the code. Use Root.Height instead (you can use %y in the designer script). www.b4x.com Upvote 0
Maybe this: [B4X] [B4XPages] Splash Screen B4A, B4i and B4J splash screen implementation. The implementation is different in each platform. 1. Don't miss the manifest editor code in B4A. 2. Don't use %y in the code. Use Root.Height instead (you can use %y in the designer script). www.b4x.com
Cableguy Expert Licensed User Longtime User Apr 14, 2022 #3 angel_ said: Maybe this: [B4X] [B4XPages] Splash Screen B4A, B4i and B4J splash screen implementation. The implementation is different in each platform. 1. Don't miss the manifest editor code in B4A. 2. Don't use %y in the code. Use Root.Height instead (you can use %y in the designer script). www.b4x.com Click to expand... I started my project by using that example a few days ago, but the way it is implemented does not allow me to do other stuff while the splash is showing. I have some moderate time consuming processing to do and I dont want a blank screen in the meantime Upvote 0
angel_ said: Maybe this: [B4X] [B4XPages] Splash Screen B4A, B4i and B4J splash screen implementation. The implementation is different in each platform. 1. Don't miss the manifest editor code in B4A. 2. Don't use %y in the code. Use Root.Height instead (you can use %y in the designer script). www.b4x.com Click to expand... I started my project by using that example a few days ago, but the way it is implemented does not allow me to do other stuff while the splash is showing. I have some moderate time consuming processing to do and I dont want a blank screen in the meantime
LucaMs Expert Licensed User Longtime User Apr 14, 2022 #4 The only case in which you may need more than a single Activity in a B4XPages project, is if you want to have screens with different orientations, both landscape and portrait. You should see a loading indicator view on a panel that completely covers Root. Upvote 1
The only case in which you may need more than a single Activity in a B4XPages project, is if you want to have screens with different orientations, both landscape and portrait. You should see a loading indicator view on a panel that completely covers Root.
Cableguy Expert Licensed User Longtime User Apr 15, 2022 #5 After a few test, I may be going the "One Loading info B4XPage" route... This will allow me to continue to load and prepare resources while updating the info on this page o the go, up until I'm ready to show something to the user. Upvote 0
After a few test, I may be going the "One Loading info B4XPage" route... This will allow me to continue to load and prepare resources while updating the info on this page o the go, up until I'm ready to show something to the user.