My app is getting pretty large and i was wondering how to implement a splash screen that shows how much is loaded of the entire program.
The splash screen part isn't the problem, but how can i find out how % of the app is loaded?
Printable View
My app is getting pretty large and i was wondering how to implement a splash screen that shows how much is loaded of the entire program.
The splash screen part isn't the problem, but how can i find out how % of the app is loaded?
It's hard to measure percentage of loading program, you can check the starting screen of Windows. Microsoft can't even get the percentage of loading system.
Rather than showing a percentage, you just show something [like we have in Ajax (Update Progress)], that will let the user know that it is currently doing something.
It depends on how you load your data. If you have no control, doing what Shuja Ali is a good option. On the other hand, if you have more control (or can refactor it), you could just add a variable and increment it in your "loading code" and use it on your splash screen.
Showing something like "Loading, please wait" is good enough for me. But how do i know if the program is fully loaded then? Is there anyway to check that?