Permalink
Browse files

documentation additions

  • Loading branch information...
1 parent 64c462c commit bdd7449af34bb8b1e3dbdcc78340ff81d6989c23 @pehrlich pehrlich committed Jan 17, 2012
Showing with 24 additions and 1 deletion.
  1. +10 −0 README.md
  2. +14 −1 framework/res/xml/phonegap.xml
View
10 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
---
View
15 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>
+
+
+

0 comments on commit bdd7449

Please sign in to comment.