cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ismael Olusola Jimoh (JIRA)" <>
Subject [jira] [Created] (CB-2154) broken in Phonegap 2.2 and 2.3.0rc2
Date Thu, 03 Jan 2013 10:22:12 GMT
Ismael Olusola Jimoh created CB-2154:

             Summary: broken in Phonegap 2.2 and 2.3.0rc2
                 Key: CB-2154
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.2.0, 2.3.0
         Environment: Android, Phonegap 2.2 and 2.3rc2
            Reporter: Ismael Olusola Jimoh
            Assignee: Joe Bowser

I tested the function as documented and realised that it is

The Splash-screen works as expected when app launched but a button call to show splashscreen
doesn't work.

I had tested this same thing on Phonegap 2.1 and it worked alright so was surprised it didn't
work on 2.2. I then tested on Phonegap 2.3 and realised it was also broken.

Below is the code I used:

<!DOCTYPE html>
    <title>Splashscreen Example</title>

    <script type="text/javascript" charset="utf-8" src="cordova-2.3.0rc2.js"></script>
    <script type="text/javascript" charset="utf-8">

    // Wait for Cordova to load
    document.addEventListener("deviceready", onDeviceReady, false);

    // Cordova is ready
    function onDeviceReady() {
    function showSplash() {
        setTimeout(function() {;
        }, 2000);
    function hideSplash() {
        setTimeout(function() {
		}, 2000);

    <button onclick="showSplash()">Show</button>
    <button onclick="hideSplash()">Hide</button>

It doesn't work as mentioned on neither 2.2 nor 2.3.



This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message