Advertisement
Guest User

Simple Phonegap Build - config.xml

a guest
Sep 22nd, 2013
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.51 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements.  See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership.  The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License.  You may obtain a copy of the License at
  10.  
  11. http://www.apache.org/licenses/LICENSE-2.0
  12.  
  13. Unless required by applicable law or agreed to in writing,
  14. software distributed under the License is distributed on an
  15. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. KIND, either express or implied.  See the License for the
  17. specific language governing permissions and limitations
  18. under the License.
  19. -->
  20. <widget xmlns     = "http://www.w3.org/ns/widgets"
  21.        id        = "io.cordova.helloCordova"
  22.        version   = "1.0.0">
  23.     <name>Hello Cordova</name>
  24.  
  25.     <description>
  26.         A sample Apache Cordova application that responds to the deviceready event.
  27.     </description>
  28.  
  29.     <author href="http://cordova.io" email="dev@cordova.apache.org">
  30.         Apache Cordova Team
  31.     </author>
  32.  
  33.     <access origin="*"/>
  34.  
  35.     <!-- <content src="http://mysite.com/myapp.html" /> for external pages -->
  36.     <content src="index.html" />
  37.  
  38.     <preference name="loglevel" value="DEBUG" />
  39.     <feature name="http://api.phonegap.com/1.0/battery"/>
  40.     <feature name="http://api.phonegap.com/1.0/camera"/>
  41.     <feature name="http://api.phonegap.com/1.0/contacts"/>
  42.     <feature name="http://api.phonegap.com/1.0/file"/>
  43.     <feature name="http://api.phonegap.com/1.0/geolocation"/>
  44.     <feature name="http://api.phonegap.com/1.0/media"/>
  45.     <feature name="http://api.phonegap.com/1.0/network"/>
  46.     <feature name="http://api.phonegap.com/1.0/notification"/>
  47.     <!--
  48.      <preference name="splashscreen" value="resourceName" />
  49.      <preference name="backgroundColor" value="0xFFF" />
  50.      <preference name="loadUrlTimeoutValue" value="20000" />
  51.      <preference name="InAppBrowserStorageEnabled" value="true" />
  52.      <preference name="disallowOverscroll" value="true" />
  53.    -->
  54.  
  55.     <feature name="App">
  56.       <param name="android-package" value="org.apache.cordova.App"/>
  57.     </feature>
  58.     <feature name="Geolocation">
  59.       <param name="android-package" value="org.apache.cordova.GeoBroker"/>
  60.     </feature>
  61.     <feature name="Device">
  62.       <param name="android-package" value="org.apache.cordova.Device"/>
  63.     </feature>
  64.     <feature name="Accelerometer">
  65.       <param name="android-package" value="org.apache.cordova.AccelListener"/>
  66.     </feature>
  67.     <feature name="Compass">
  68.       <param name="android-package" value="org.apache.cordova.CompassListener"/>
  69.     </feature>
  70.     <feature name="Media">
  71.       <param name="android-package" value="org.apache.cordova.AudioHandler"/>
  72.     </feature>
  73.     <feature name="Camera">
  74.       <param name="android-package" value="org.apache.cordova.CameraLauncher"/>
  75.     </feature>
  76.     <feature name="Contacts">
  77.       <param name="android-package" value="org.apache.cordova.ContactManager"/>
  78.     </feature>
  79.     <feature name="File">
  80.       <param name="android-package" value="org.apache.cordova.FileUtils"/>
  81.     </feature>
  82.     <feature name="NetworkStatus">
  83.       <param name="android-package" value="org.apache.cordova.NetworkManager"/>
  84.     </feature>
  85.     <feature name="Notification">
  86.       <param name="android-package" value="org.apache.cordova.Notification"/>
  87.     </feature>
  88.     <feature name="Storage">
  89.       <param name="android-package" value="org.apache.cordova.Storage"/>
  90.     </feature>
  91.     <feature name="FileTransfer">
  92.       <param name="android-package" value="org.apache.cordova.FileTransfer"/>
  93.     </feature>
  94.     <feature name="Capture">
  95.       <param name="android-package" value="org.apache.cordova.Capture"/>
  96.     </feature>
  97.     <feature name="Battery">
  98.       <param name="android-package" value="org.apache.cordova.BatteryListener"/>
  99.     </feature>
  100.     <feature name="SplashScreen">
  101.       <param name="android-package" value="org.apache.cordova.SplashScreen"/>
  102.     </feature>
  103.     <feature name="Echo">
  104.       <param name="android-package" value="org.apache.cordova.Echo"/>
  105.     </feature>
  106.     <feature name="Globalization">
  107.       <param name="android-package" value="org.apache.cordova.Globalization"/>
  108.     </feature>
  109.     <feature name="InAppBrowser">
  110.         <param name="android-package" value="org.apache.cordova.InAppBrowser" />
  111.     </feature>
  112.    
  113.    
  114. </widget>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement