Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E979B98F0 for ; Mon, 23 Apr 2012 21:04:57 +0000 (UTC) Received: (qmail 20146 invoked by uid 500); 23 Apr 2012 21:04:57 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 20122 invoked by uid 500); 23 Apr 2012 21:04:57 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 20114 invoked by uid 99); 23 Apr 2012 21:04:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 21:04:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 21:04:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3484140B726 for ; Mon, 23 Apr 2012 21:04:34 +0000 (UTC) Date: Mon, 23 Apr 2012 21:04:34 +0000 (UTC) From: "Avidan Chen (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1036272000.6594.1335215074269.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1497455769.5156.1335195815379.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-554) White flash before showing the html page in Android MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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