On Oct 26, 2012, at 3:47 AM, Felix E. Klee wrote:

> I test installed an [early preview][1] of a web app on an Android device
> with Firefox Aurora. What the user sees during startup:
> 
> 1. Load screen 1: App's icon plus loader animation (green circle).
> 
> 2. Load screen 2: App's own load screen (spinner on black background),
>    indicating initialization.
> 
> 3. The app, ready to use.
> 
> Is it possible to get rid of the second load screen?
> 
> In other words: Can I somehow control how long the first load screen appears?

Good question.

> 
> *Note*: Naturally, I do not want to entirely get rid of the app's own
> load screen. It is necessary on normal browsers, since otherwise users
> may see the app in an uninitialized state.

I would actually suggest something contrary: build your UI so that it "looks 
right" in an uninitialized state. Most iOS apps do this. It can be tricky to 
implement but I think maybe your appcache assets will be loaded after the 
initial #1 load screen so you can show a screenshot of a menu bar (or whatever) 
if it is not yet clickable. Basically I'm suggesting to trick the user into 
thinking your app is usable by way of visual layout. When the user clicks and 
nothing happens you could queue that event up for later. Generally this isn't a 
problem though because to the user they see what looks like a fully loaded app 
and think, wow, that was fast. By the time they actually try to do something it 
is probably already loaded. If not you could show a lazy loader that only 
appears if the user did in fact try to do something while it was taking too 
long to load.

> 
> This question has also been [posted on StackOverflow][2], though so far
> without answer. It seems that there are not many Open Web App developers
> out there, yet.
> 
> [1]: http://sq.rotogame.com/install-webapp
> [2]: 
> http://stackoverflow.com/questions/13070767/firefox-web-app-control-duration-of-load-screen
> _______________________________________________
> dev-webapps mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-webapps

_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to