incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [3/3] git commit: documentation additions
Date Tue, 24 Jan 2012 00:21:39 GMT
documentation additions


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/bdd7449a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/bdd7449a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/bdd7449a

Branch: refs/heads/master
Commit: bdd7449af34bb8b1e3dbdcc78340ff81d6989c23
Parents: 64c462c
Author: Peter Ehrlich <peter.i.ehrlich@gmail.com>
Authored: Tue Jan 17 16:31:08 2012 -0500
Committer: Peter Ehrlich <peter.i.ehrlich@gmail.com>
Committed: Tue Jan 17 16:31:08 2012 -0500

----------------------------------------------------------------------
 README.md                      |   10 ++++++++++
 framework/res/xml/phonegap.xml |   15 ++++++++++++++-
 2 files changed, 24 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/bdd7449a/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 1f61553..ea999ff 100755
--- a/README.md
+++ b/README.md
@@ -19,6 +19,16 @@ Requires
 - Apache ANT
 - Android SDK [http://developer.android.com](http://developer.android.com)
 
+
+Building
+---
+
+To create your phonegap.jar, run in the framework directory:
+
+    android update project -p . -t android-15
+    ant jar
+
+
 Cordova Android Developer Tools
 ---
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/bdd7449a/framework/res/xml/phonegap.xml
----------------------------------------------------------------------
diff --git a/framework/res/xml/phonegap.xml b/framework/res/xml/phonegap.xml
index f57d9ab..69e4876 100644
--- a/framework/res/xml/phonegap.xml
+++ b/framework/res/xml/phonegap.xml
@@ -1,6 +1,19 @@
 <?xml version="1.0" encoding="utf-8"?>
 <phonegap>
-    <access origin="http://127.0.0.1*"/>
+	<!--  
+	access elements control the Android whitelist.  
+	Domains are assumed blocked unless set otherwise
+	 -->
+
+    <access origin="http://127.0.0.1*"/> <!-- allow local pages -->
+
+	<!-- <access origin="https://example.com" /> allow any secure requests to example.com
-->
+	<!-- <access origin="https://example.com" subdomains="true" /> such as above, but
including subdomains, such as www -->
+	<!-- <access origin=".*"/> Allow all domains, suggested development use only -->
+
     <log level="DEBUG"/>
     <render legacy="true" />
 </phonegap>
+
+
+


Mime
View raw message