You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Stefan Kendall (JIRA)" <ji...@apache.org> on 2012/07/03 02:10:57 UTC

[jira] [Created] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

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

        

[jira] [Updated] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Stefan Kendall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Kendall updated CB-998:
------------------------------

    Attachment: splash480x800.png

Splash in question.
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>         Attachments: splash480x800.png
>
>
> 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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Stefan Kendall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405599#comment-13405599 ] 

Stefan Kendall commented on CB-998:
-----------------------------------

http://pastebin.com/frxGbR85
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410662#comment-13410662 ] 

Joe Bowser commented on CB-998:
-------------------------------

I tried it on our Samsung Galaxy S2 (GT-I9100) running 4.0.3 and it works properly. I used the png that you sent us.  Could this be something else that you're doing with the application?  I'll close this and look at the Signal 11 bug.
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>         Attachments: splash480x800.png
>
>
> 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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Stefan Kendall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409889#comment-13409889 ] 

Stefan Kendall commented on CB-998:
-----------------------------------

ICS
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>         Attachments: splash480x800.png
>
>
> 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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409888#comment-13409888 ] 

Joe Bowser commented on CB-998:
-------------------------------

BTW: What version of Android? ICS or Gingerbread?
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>         Attachments: splash480x800.png
>
>
> 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

        

[jira] [Resolved] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-998.
---------------------------

    Resolution: Cannot Reproduce

It's not the spashscreen, it's something else.
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>         Attachments: splash480x800.png
>
>
> 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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406242#comment-13406242 ] 

Simon MacDonald commented on CB-998:
------------------------------------

I just tested it on my devices and no crash. Oh well it was worth a shot. We need to get our hands on a S2/S3 to figure out the issue.
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>         Attachments: splash480x800.png
>
>
> 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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405998#comment-13405998 ] 

Filip Maj commented on CB-998:
------------------------------

I'll loop back with Adobe folks and see if we can order an S3 or S2.
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405989#comment-13405989 ] 

Simon MacDonald commented on CB-998:
------------------------------------

Hmmm...that's the dreaded signal 11/segmentation fault crash. Not much information there other than things are bad, really bad. I've created a 480x800 png and tested it on my Galaxy S and Galaxy Note and it works fine. Sorry I don't have access to a S2 or S3.

Could you provide the .png that causes the crash? Maybe I can figure out something from it. 
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409887#comment-13409887 ] 

Joe Bowser commented on CB-998:
-------------------------------

We do have a Galaxy S12 in the office.  I'll test on this end.
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>         Attachments: splash480x800.png
>
>
> 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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405474#comment-13405474 ] 

Simon MacDonald commented on CB-998:
------------------------------------

Can you post the logcat from the crash?
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.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

        

[jira] [Commented] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Stefan Kendall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406236#comment-13406236 ] 

Stefan Kendall commented on CB-998:
-----------------------------------

I've attached the image which causes the crash, although the image is so simple that I'm not sure how it 'specifically' could be the issue.
                
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>         Attachments: splash480x800.png
>
>
> 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

        

[jira] [Updated] (CB-998) Setting a splash screen crashes Galaxy S2/S3 (But not galaxy S)

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-998:
--------------------------

    Fix Version/s: 2.0.0
    
> 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.3.0, 1.6.1, 1.8.0, 1.9.0
>         Environment: Galaxy S2, Galaxy S3
>            Reporter: Stefan Kendall
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>         Attachments: splash480x800.png
>
>
> 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