mobile splash screen vs card & image [solved]

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SteveTX
Posts: 170
Joined: Sun Jan 17, 2010 9:00 pm

mobile splash screen vs card & image [solved]

Post by SteveTX » Tue Jul 02, 2013 12:14 am

Is there any speed difference or functional difference in showing a card w/ image on openCard vs using a splash screen in the standalone settings? Presume the actual app has a non-trivial loading time, would the built-in splash screen standalone settings get the splash screen displayed any faster than calling a card?
Last edited by SteveTX on Sat Jul 13, 2013 7:34 pm, edited 1 time in total.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: mobile splash screen vs card & image

Post by Klaus » Tue Jul 02, 2013 11:33 am

Hi Steve,
SteveTX wrote:Is there any speed difference or functional difference in showing a card w/ image on openCard vs using a splash screen in the standalone settings?
no noticable :-)


Best

Klaus

SteveTX
Posts: 170
Joined: Sun Jan 17, 2010 9:00 pm

Re: mobile splash screen vs card & image

Post by SteveTX » Sat Jul 13, 2013 7:33 pm

Found the "best" way to do it, and by best I mean speed optimized. Don't use native splash screen, and don't use a separate card. On preOpenCard create a splash screen group, on openCard show the group. Do your draws/create graphics, initialize all settings, and when they are finished, hide the splash screen group. All that background time that would have been unused is now spent actually performing card operations.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: mobile splash screen vs card & image [solved]

Post by Klaus » Sun Jul 14, 2013 12:41 pm

Hi Steve,

thanks for sharing your experiences!
Looks like I completely overlooked the "Mobile" in the subject, I always check the forum the question is in first 8-)


Best

Klaus

Post Reply