You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2013/01/26 00:53:23 UTC

docs commit: Created document, only have one preference that is affected by config.xml. This needs to be fixed before we can do more with the docs.

Updated Branches:
  refs/heads/master 704c2a1c4 -> 258bc4653


Created document, only have one preference that is affected by config.xml.  This needs to be fixed before we can do more with the docs.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/258bc465
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/258bc465
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/258bc465

Branch: refs/heads/master
Commit: 258bc4653d6a67cd59eb2a8a808bf5b183edb1cd
Parents: 704c2a1
Author: Joe Bowser <bo...@apache.org>
Authored: Fri Jan 25 15:52:28 2013 -0800
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri Jan 25 15:52:28 2013 -0800

----------------------------------------------------------------------
 .../edge/guide/project-settings/android/index.md   |   39 +++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/258bc465/docs/en/edge/guide/project-settings/android/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/project-settings/android/index.md b/docs/en/edge/guide/project-settings/android/index.md
new file mode 100644
index 0000000..0b3ba48
--- /dev/null
+++ b/docs/en/edge/guide/project-settings/android/index.md
@@ -0,0 +1,39 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+-->
+
+Project Settings for Android
+===================================
+
+The **config.xml settings file** controls various settings of Cordova. This is application wide, and not set per CordovaWebView Instance.  For example:
+
+        <cordova>
+            <preference name="MySetting" value="true" />
+            <plugins>
+                <plugin name="MyPlugin" value="MyPluginClass" />
+            </plugins>
+            <access origin="*" />
+        </cordova>
+
+1. A list of **plugins** allowed to be used in a CordovaWebView.
+2. A **white-list** of hosts that Cordova is allowed to connect to (add an **&lt;access&gt;** tag, and set the origin attribute - wildcards allowed)
+3. Various **other** preferences (as **&lt;preference&gt;** tags) defaults err on not breaking existing apps)
+
+a. **useBrowserHistory (boolean, defaults to true)** - set to false if you want to use the history shim that was used to work around the hashtag error present in Android 3.x prior to the history fix.  (Note: This setting will be deprecated in April 2013)