Skip to content

Instantly share code, notes, and snippets.

@gtanner
Created January 25, 2012 03:12
Show Gist options
  • Save gtanner/1674455 to your computer and use it in GitHub Desktop.
Save gtanner/1674455 to your computer and use it in GitHub Desktop.
PhoneGap Playbook/Handset Testing Harness Config file
<?xml version="1.0" encoding="UTF-8"?>
<!--
Widget Configuration Reference:
http://docs.blackberry.com/en/developers/deliverables/15274/
-->
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="1.0.0.0">
<name>PhoneGap Test Harness</name>
<description>
A simple test harness for PhoneGap Development
</description>
<license href="http://opensource.org/licenses/alphabetical">
</license>
<access subdomains="true" uri="http://10.172.71.129/">
<feature id="blackberry.system" required="true" version="1.0.0.0" />
<feature id="com.phonegap" required="true" version="1.0.0" />
<feature id="blackberry.find" required="true" version="1.0.0.0" />
<feature id="blackberry.identity" required="true" version="1.0.0.0" />
<feature id="blackberry.pim.Address" required="true" version="1.0.0.0" />
<feature id="blackberry.pim.Contact" required="true" version="1.0.0.0" />
<feature id="blackberry.io.file" required="true" version="1.0.0.0" />
<feature id="blackberry.utils" required="true" version="1.0.0.0" />
<feature id="blackberry.io.dir" required="true" version="1.0.0.0" />
<feature id="blackberry.app" required="true" version="1.0.0.0" />
<feature id="blackberry.app.event" required="true" version="1.0.0.0" />
<feature id="blackberry.system.event" required="true" version="1.0.0.0"/>
<feature id="blackberry.widgetcache" required="true" version="1.0.0.0"/>
<feature id="blackberry.media.camera" />
<feature id="blackberry.ui.dialog" />
</access>
<!-- PhoneGap API -->
<access subdomains="true" uri="file:///store/home" />
<access subdomains="true" uri="file:///SDCard" />
<!-- Expose access to all URIs, including the file and http protocols -->
<access subdomains="true" uri="*" />
<icon rim:hover="false" src="resources/icon.png" />
<icon rim:hover="true" src="resources/icon_hover.png" />
<rim:loadingScreen backgroundColor="#000000"
foregroundImage="resources/loading_foreground.png"
onFirstLaunch="true">
<rim:transitionEffect type="fadeOut" />
</rim:loadingScreen>
<content src="http://10.172.71.129/www/" />
<rim:cache disableAllCache="true" />
<rim:permissions>
<rim:permit>use_camera</rim:permit>
<rim:permit>read_device_identifying_information</rim:permit>
<rim:permit>access_shared</rim:permit>
<rim:permit>read_geolocation</rim:permit>
</rim:permissions>
</widget>
@gtanner
Copy link
Author

gtanner commented Jan 25, 2012

Just remember to switch the IP to your servers IP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment