[ 
https://issues.apache.org/jira/browse/CB-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259952#comment-13259952
 ] 

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: https://issues.apache.org/jira/browse/CB-554
>             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: 
> https://github.com/apache/incubator-cordova-android/commit/a37d0699db783d09d6a311c6367a10255e9479e4

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to