You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2013/01/26 00:57:13 UTC

[jira] [Updated] (CB-2296) Move super.setStringProperty preferences into Config class

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

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

          Component/s: Android
        Fix Version/s: 2.5.0
             Priority: Critical  (was: Major)
    Affects Version/s: 2.3.0
    
> 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
>          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