cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-2296) Move super.setStringProperty and other DroidGap preferences into Config class
Date Wed, 30 Jan 2013 19:27:13 GMT

     [ https://issues.apache.org/jira/browse/CB-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser updated CB-2296:
---------------------------

    Summary: Move super.setStringProperty and other DroidGap preferences into Config class
 (was: Move super.setStringProperty preferences into Config class)
    
> Move super.setStringProperty and other DroidGap preferences into Config class
> -----------------------------------------------------------------------------
>
>                 Key: CB-2296
>                 URL: https://issues.apache.org/jira/browse/CB-2296
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.3.0
>            Reporter: Joe Bowser
>            Priority: Critical
>             Fix For: 2.5.0
>
>
> Currently there are too many preferences that need to be set in the main class.  These
are only documented in the source, and we need to move them into the config.xml.  They are
the following (from DroidGap.java):
>  *       // Display a native loading dialog when loading app.  Format for value = "Title,Message".
>  *      // (String - default=null)
>  *      super.setStringProperty("loadingDialog", "Wait,Loading Demo...");
>  *
>  *      // Display a native loading dialog when loading sub-pages.  Format for value
= "Title,Message".
>  *      // (String - default=null)
>  *      super.setStringProperty("loadingPageDialog", "Loading page...");
>  *
>  *      // Load a splash screen image from the resource drawable directory.
>  *      // (Integer - default=0)
>  *      super.setIntegerProperty("splashscreen", R.drawable.splash);
>  *
>  *      // Set the background color.
>  *      // (Integer - default=0 or BLACK)
>  *      super.setIntegerProperty("backgroundColor", Color.WHITE);
>  *
>  *      // Time in msec to wait before triggering a timeout error when loading
>  *      // with super.loadUrl().  (Integer - default=20000)
>  *      super.setIntegerProperty("loadUrlTimeoutValue", 60000);
>  *
>  *      // URL to load if there's an error loading specified URL with loadUrl().
>  *      // Should be a local URL starting with file://. (String - default=null)
>  *      super.setStringProperty("errorUrl", "file:///android_asset/www/error.html");
>  *
>  *      // Enable app to keep running in background. (Boolean - default=true)
>  *      super.setBooleanProperty("keepRunning", false);

--
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: http://www.atlassian.com/software/jira

Mime
View raw message