incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avidan Chen (JIRA)" <>
Subject [jira] [Commented] (CB-554) White flash before showing the html page in Android
Date Mon, 23 Apr 2012 21:04:34 GMT


Avidan Chen commented on CB-554:

Well, it wasn't there when I was running 1.2.0. And nothing in my code changed. I simply upgraded
to 1.6.1. I also upgraded jQuery mobile to 1.1.0, but I did that prior to upgrading phonegap
and I thoroughly tested it without any issues. Only after updating phonegap it started happening.

By the way, I didn't use a splashscreen in 1.2.0. nor do I use it now because I need the ability
to hide it after I'm done caching pages (as far as I could tell, hiding the splash screen
on demand in javascript only works in iOS). Instead, the background image of my first html
page serves as the splash screen, and when I'm done caching I just switch to the next page.

Now, I did try to use a splashscreen in 1.6.1 just to see if it helps, but there was no change.

After further investigating this issue, I noticed it happens even before deviceready fires.
What's wierd about it is that it doesn't happen all the time. Most of the times I start the
app, but not every time.
> White flash before showing the html page in Android
> ---------------------------------------------------
>                 Key: CB-554
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.6.1
>         Environment: Tested on Samsung Galaxy S2 running Android 2.3.5 and on Samsung
Galaxy Nexus running Android 4.04.
>            Reporter: Avidan Chen
>            Assignee: Joe Bowser
>            Priority: Minor
> After upgrading from Phonegap 1.2.0, there's a noticeable white flash (maybe half a second
in Android 2.3.5, in 4.0.4 even longer than that) before displaying the first html page.
> This happens before the "deviceready" event fires. I'm also using jQuery Mobile 1.1.0.
> Again, prior to updating to 1.6.1 it didn't happen.
> This happens only in Android as far as I can tell.
> Update - might be related to this commit:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message