You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/06/09 09:58:01 UTC

[jira] [Commented] (CB-6898) [Android] Black screen issue when app start up

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

ASF GitHub Bot commented on CB-6898:
------------------------------------

GitHub user kurli opened a pull request:

    https://github.com/apache/cordova-android/pull/102

    [CB-6898] Fix black screen issue when app start up

    Set appView invisible only when 'LoadingDialog' is enabled.
    
    BUG=https://issues.apache.org/jira/browse/CB-6898

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kurli/cordova-android black-screen-issue

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/102.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #102
    
----
commit 14bdc259c3ebc3b48eeb26256047d4884ae4cf24
Author: guangzhen <gu...@intel.com>
Date:   2014-06-09T07:48:11Z

    [CB-6898] Fix black screen issue when app start up
    
    Set appView invisible only when 'LoadingDialog' is enabled.
    
    BUG=https://issues.apache.org/jira/browse/CB-6898

----


> [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)