Advertisement
Guest User

Untitled

a guest
Apr 25th, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.99 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
  4. <widget xmlns     = "http://www.w3.org/ns/widgets"
  5.        xmlns:gap = "http://phonegap.com/ns/1.0"
  6.        id        = "com.phonegap.helloworld"
  7.        version   = "1.0.0">
  8.  
  9.     <name>HelloWorld</name>
  10.  
  11.     <description>
  12.         Hello World sample application that responds to the deviceready event.
  13.     </description>
  14.  
  15.     <author href="http://phonegap.com" email="support@phonegap.com">
  16.         PhoneGap Team
  17.     </author>
  18.  
  19.     <!--
  20.        Enable individual API permissions here.
  21.        The "device" permission is required for the 'deviceready' event.
  22.    -->
  23.     <feature name="http://api.phonegap.com/1.0/device" />
  24.  
  25.     <!--
  26.        If you do not want any permissions to be added to your app, add the
  27.        following tag to your config.xml; you will still have the INTERNET
  28.        permission on your app, which PhoneGap requires.
  29.    -->
  30.     <preference name="permissions"                value="none"/>
  31.  
  32.     <!-- Customize your app and platform with the preference element. -->
  33.     <!-- <preference name="phonegap-version"      value="3.4.0" /> -->      <!-- all: current version of PhoneGap -->
  34.     <preference name="orientation"                value="default" />        <!-- all: default means both landscape and portrait are enabled -->
  35.     <preference name="target-device"              value="universal" />      <!-- all: possible values handset, tablet, or universal -->
  36.     <preference name="fullscreen"                 value="true" />           <!-- all: hides the status bar at the top of the screen -->
  37.     <preference name="webviewbounce"              value="true" />           <!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
  38.     <preference name="prerendered-icon"           value="true" />           <!-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen -->
  39.     <preference name="stay-in-webview"            value="false" />          <!-- ios: external links should open in the default browser, 'true' would use the webview the app lives in -->
  40.     <preference name="ios-statusbarstyle"         value="black-opaque" />   <!-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar -->
  41.     <preference name="detect-data-types"          value="true" />           <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->
  42.     <preference name="exit-on-suspend"            value="false" />          <!-- ios: if set to true, app will terminate when home button is pressed -->
  43.     <preference name="show-splash-screen-spinner" value="true" />           <!-- ios: if set to false, the spinner won't appear on the splash screen during app loading -->
  44.     <preference name="auto-hide-splash-screen"    value="true" />           <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
  45.     <preference name="disable-cursor"             value="false" />          <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->
  46.     <preference name="android-minSdkVersion"      value="7" />              <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
  47.     <preference name="android-installLocation"    value="auto" />           <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->
  48.  
  49.     <!-- Plugins can also be added here. -->
  50.     <!--
  51.        <gap:plugin name="Example" />
  52.        A list of available plugins are available at https://build.phonegap.com/docs/plugins
  53.    -->
  54.  
  55.     <!-- Define app icon for each platform. -->
  56.     <icon src="icon.png" />
  57.     <icon src="res/icon/android/icon-36-ldpi.png"   gap:platform="android"    gap:density="ldpi" />
  58.     <icon src="res/icon/android/icon-48-mdpi.png"   gap:platform="android"    gap:density="mdpi" />
  59.     <icon src="res/icon/android/icon-72-hdpi.png"   gap:platform="android"    gap:density="hdpi" />
  60.     <icon src="res/icon/android/icon-96-xhdpi.png"  gap:platform="android"    gap:density="xhdpi" />
  61.     <icon src="res/icon/blackberry/icon-80.png"     gap:platform="blackberry" />
  62.     <icon src="res/icon/blackberry/icon-80.png"     gap:platform="blackberry" gap:state="hover"/>
  63.     <icon src="res/icon/ios/icon-57.png"            gap:platform="ios"        width="57" height="57" />
  64.     <icon src="res/icon/ios/icon-72.png"            gap:platform="ios"        width="72" height="72" />
  65.     <icon src="res/icon/ios/icon-57-2x.png"         gap:platform="ios"        width="114" height="114" />
  66.     <icon src="res/icon/ios/icon-72-2x.png"         gap:platform="ios"        width="144" height="144" />
  67.     <icon src="res/icon/webos/icon-64.png"          gap:platform="webos" />
  68.     <icon src="res/icon/windows-phone/icon-48.png"  gap:platform="winphone" />
  69.     <icon src="res/icon/windows-phone/icon-173.png" gap:platform="winphone"   gap:role="background" />
  70.  
  71.     <!-- Define app splash screen for each platform. -->
  72.     <gap:splash src="res/screen/android/screen-ldpi-portrait.png"  gap:platform="android" gap:density="ldpi" />
  73.     <gap:splash src="res/screen/android/screen-mdpi-portrait.png"  gap:platform="android" gap:density="mdpi" />
  74.     <gap:splash src="res/screen/android/screen-hdpi-portrait.png"  gap:platform="android" gap:density="hdpi" />
  75.     <gap:splash src="res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:density="xhdpi" />
  76.     <gap:splash src="res/screen/blackberry/screen-225.png"         gap:platform="blackberry" />
  77.     <gap:splash src="res/screen/ios/screen-iphone-portrait.png"    gap:platform="ios"     width="320" height="480" />
  78.     <gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios"     width="640" height="960" />
  79.     <gap:splash src="res/screen/ios/screen-ipad-portrait.png"      gap:platform="ios"     width="768" height="1024" />
  80.     <gap:splash src="res/screen/ios/screen-ipad-landscape.png"     gap:platform="ios"     width="1024" height="768" />
  81.     <gap:splash src="res/screen/windows-phone/screen-portrait.jpg" gap:platform="winphone" />
  82.  
  83.     <!--
  84.        Define access to external domains.
  85.  
  86.        <access />            - a blank access tag denies access to all external resources.
  87.        <access origin="*" /> - a wildcard access tag allows access to all external resource.
  88.  
  89.        Otherwise, you can specify specific domains:
  90.    -->
  91.     <access origin="*"/> <!-- allow local pages -->
  92.     <!--
  93.        <access origin="http://phonegap.com" />                    - allow any secure requests to http://phonegap.com/
  94.        <access origin="http://phonegap.com" subdomains="true" />  - same as above, but including subdomains, such as http://build.phonegap.com/
  95.        <access origin="http://phonegap.com" browserOnly="true" /> - only allows http://phonegap.com to be opened by the child browser.
  96.    -->
  97.  
  98. </widget>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement