I remember this coming up before (though I can't find the link – maybe it
was Kumar who mentioned this previously?)  I opened a ticket with a
proposal that I think would address this case:
https://bugzilla.mozilla.org/show_bug.cgi?id=805845

I don't believe there's any feature that would help you right now.  As a
simple hack you could try to simulate the first load screen in your own
app.  I.e., make your first page look like:

  <img style="position: fixed; top: 50; left: 50%; margin-top: -128px;
margin-left: -128px;" src="/icons/icon_256.png">

and also throw a throbber gif in there somewhere.  You can use a
launch_path that isn't "/" so that app users get this custom loading page,
while people accessing your app through a browser get a more normal load
screen.

Kumar's suggestion of creating a quick-to-initialize
not-entirely-functional first screen is of course even better.


On Fri, Oct 26, 2012 at 3:47 AM, Felix E. Klee <felix.k...@inka.de> 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?
>
> *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.
>
> 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
> dev-webapps@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-webapps
>
_______________________________________________
dev-webapps mailing list
dev-webapps@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to