incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Kendall (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)
Date Tue, 03 Jul 2012 00:10:57 GMT
Stefan Kendall created CB-998:
---------------------------------

             Summary: Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)
                 Key: CB-998
                 URL: https://issues.apache.org/jira/browse/CB-998
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, CordovaJS
    Affects Versions: 1.9.0, 1.8.0, 1.6.1, 1.3.0
         Environment: Galaxy S2, Galaxy S3
            Reporter: Stefan Kendall
            Assignee: Joe Bowser


In all drawable* folders, I have a 480x800 png that is not 9-patch. The following causes a
SIGNAL 11 crash on boot on Galaxy S2 and S3. A Galaxy S does not seem to crash on boot.

public class App extends DroidGap {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.setIntegerProperty("loadUrlTimeoutValue", 70000);
        super.setIntegerProperty("splashscreen", R.drawable.splash);

        int TEN_SECONDS = 10000;
        super.loadUrl("file:///android_asset/www/index.html", TEN_SECONDS);
    }
}


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

        

Mime
View raw message