Looking at the lessons I see there are two suggested methods for providing a splash screen for Android apps.
My current attempt to compile an Android app takes 30 secs to load on the simulator.
During this time the screen is black.
So method (1) is to simply have a splash stack that calls the main stack
Method (2) is to have the first card of your stack as the splash screen.
Is there an advantage to one over the other?
Method (1) doesn't require much in the way of scripting but does require two stacks,
Method (2) only one stack but does the whole stack still have to load before card 1 is seen?
or are they both pretty much the same.
preferred method for Android Splash screen
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: preferred method for Android Splash screen
Having a stack as splashscreen that calls the mainstack stack offers a way to update your application via the splashscreen stack?!
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: preferred method for Android Splash screen
The whole stack loads before the first card is drawn, so the smaller the stack, the shorter the load time.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: preferred method for Android Splash screen
oh well tried both methods
splash screen appears quickly and then some 30 secs later the main stack appears but then for some reason it is unable to complete it usual object positioning.
If I do not use a splash screen everything is positioned correctly (controls in corners of screen)
with splash screen no corner controls at all!
So I will leave the splash screen ide for a while
splash screen appears quickly and then some 30 secs later the main stack appears but then for some reason it is unable to complete it usual object positioning.
If I do not use a splash screen everything is positioned correctly (controls in corners of screen)
with splash screen no corner controls at all!
So I will leave the splash screen ide for a while