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] [Created] (CB-2296) Move super.setStringProperty preferences into Config class
Date Fri, 25 Jan 2013 23:57:13 GMT
Joe Bowser created CB-2296:
------------------------------

             Summary: Move super.setStringProperty preferences into Config class
                 Key: CB-2296
                 URL: https://issues.apache.org/jira/browse/CB-2296
             Project: Apache Cordova
          Issue Type: Bug
            Reporter: Joe Bowser


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