Displaying a progress message over splash screen

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Displaying a progress message over splash screen

Post by FireWorx » Fri Dec 09, 2011 7:54 pm

Hi,
Any ideas for displaying a progress message and or progress bar over the top of the splash screen while my program moves a couple hundred files from the engine folder to the documents folder on first launch of the program. This process takes place in the preopenstack handler and currently tales about 10 to 20 seconds however in todays world 20 seconds without some sort of message explaining WHAS UP aint cool at all. I want to be cool so anyone? Whats the cool thang to do? =]
Dave

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: Displaying a progress message over splash screen

Post by CALL-151 » Fri Dec 09, 2011 10:08 pm

Don't know how cool this is, but I think you'll need to create a card with an exact duplicate of your splash screen. If there's a way to animate the splash screen I'd love to learn it.

FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Re: Displaying a progress message over splash screen

Post by FireWorx » Sat Dec 10, 2011 8:41 am

Thanks for the idea. It's consistently taking around 10 seconds to load so I think I will just use the standard "answer" command to alert the user: "Loading data. This will take about 10 seconds" This unfortunately requires the user to click "Ok" to procede but should work "Ok" until something better pops up.
Thanks again.
Dave

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: Displaying a progress message over splash screen

Post by Jellicle » Sat Dec 10, 2011 11:00 am

Why show the progress over the splash screen? Just do it over the first screen the user sees after the splash, and prevent any user interaction with a semi-opaque full screen rectangle behind the progress bar. Check out this stack as an example:

http://forums.runrev.com/viewtopic.php? ... =15#p43063

(That stack downloads another stack from the internet - it uses a % display to show progress of the download...you might use the same, calculated according to the number of files you are copying...)

Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.

Post Reply