Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2DDEE4E8 for ; Sat, 26 Jan 2013 03:57:23 +0000 (UTC) Received: (qmail 11171 invoked by uid 500); 26 Jan 2013 03:57:23 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 11078 invoked by uid 500); 26 Jan 2013 03:57:21 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 9849 invoked by uid 500); 26 Jan 2013 03:57:18 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 9620 invoked by uid 99); 26 Jan 2013 03:57:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2013 03:57:17 +0000 Date: Sat, 26 Jan 2013 03:57:17 +0000 (UTC) From: "Simon MacDonald (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2296) Move super.setStringProperty preferences into Config class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563336#comment-13563336 ] Simon MacDonald commented on CB-2296: ------------------------------------- When we do the move can we leave the old methods around for awhile with a deprecation notice instead of having them disappear? > 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