cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guangzhen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6898) [Android] Black screen issue when app start up
Date Thu, 17 Jul 2014 02:14:04 GMT

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

Guangzhen commented on CB-6898:
-------------------------------

[~agrieve] Actually, I'm using Crosswalk-Cordova which is as chrome webview.

With my patch, there is no white flash when startup.
The first rendered frame will be faster, In my test app, there is a html loading screen, and
the onPageFinished event will be later than first visible screen.


> [Android] Black screen issue when app start up
> ----------------------------------------------
>
>                 Key: CB-6898
>                 URL: https://issues.apache.org/jira/browse/CB-6898
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.5.0
>            Reporter: Guangzhen
>
> When the app doing a heavy work when start up, there will be a black screen displayed
firstly and then the actual page will be shown.
> I have investigated in the cordova-android implementation and found the root cause:
> When app start up, the appView will be invisible, and then changed to visible after receive
onPageFinish event. It will cause black screen issue before it changed to visible.
> This behavior is for 'LoadingDialog' feature.
> But when there is no 'LoadingDialog' specified in the config fie, I think we do not need
to set the appView invisible.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message