Skip to content
Browse files

updated to 1.8.0rc1

  • Loading branch information...
1 parent 475bfd2 commit 47de8167f3be251a98b7f8887306c2a9c327590d @stevengill stevengill committed May 30, 2012
Showing with 12,080 additions and 2,495 deletions.
  1. +1 −1 VERSION
  2. +179 −125 changelog
  3. +19 −3 doc/_index.html
  4. +1 −1 doc/_index.json
  5. +64 −3 doc/cordova_accelerometer_accelerometer.md.html
  6. +85 −8 doc/cordova_camera_camera.md.html
  7. +58 −3 doc/cordova_compass_compass.md.html
  8. +78 −3 doc/cordova_connection_connection.md.html
  9. +150 −14 doc/cordova_contacts_contacts.md.html
  10. +72 −3 doc/cordova_device_device.md.html
  11. +60 −3 doc/cordova_events_events.md.html
  12. +181 −30 doc/cordova_file_file.md.html
  13. +119 −49 doc/cordova_geolocation_geolocation.md.html
  14. +62 −3 doc/cordova_media_capture_capture.md.html
  15. +108 −4 doc/cordova_media_media.md.html
  16. +85 −13 doc/cordova_notification_notification.md.html
  17. +67 −14 doc/cordova_storage_storage.md.html
  18. +7 −5 doc/guide_getting-started_android_index.md.html
  19. +6 −3 doc/guide_getting-started_bada_index.md.html
  20. +6 −3 doc/guide_getting-started_blackberry_index.md.html
  21. +6 −3 doc/guide_getting-started_index.md.html
  22. +6 −3 doc/guide_getting-started_ios_index.md.html
  23. +6 −3 doc/guide_getting-started_symbian_index.md.html
  24. +6 −3 doc/guide_getting-started_webos_index.md.html
  25. +6 −3 doc/guide_getting-started_windows-phone_index.md.html
  26. +142 −0 doc/guide_upgrading_android_index.md.html
  27. +110 −0 doc/guide_upgrading_bada_index.md.html
  28. +144 −0 doc/guide_upgrading_blackberry_index.md.html
  29. +123 −0 doc/guide_upgrading_index.md.html
  30. +133 −0 doc/guide_upgrading_ios_index.md.html
  31. +110 −0 doc/guide_upgrading_symbian_index.md.html
  32. +110 −0 doc/guide_upgrading_webos_index.md.html
  33. +134 −0 doc/guide_upgrading_windows-phone_index.md.html
  34. +215 −0 doc/guide_whitelist_index.md.html
  35. +1 −1 doc/index.css
  36. +14 −3 doc/index.html
  37. +14 −2 lib/android/README.md
  38. +1 −1 lib/android/VERSION
  39. BIN lib/android/{cordova-1.7.0.jar → cordova-1.8.0rc1.jar}
  40. +929 −169 lib/android/{example/assets/www/cordova-1.7.0.js → cordova-1.8.0rc1.js}
  41. BIN lib/android/example/{libs/cordova-1.7.0.jar → .cordova/android/cordova-1.8.0rc1.jar}
  42. +929 −169 lib/android/{cordova-1.7.0.js → example/.cordova/android/cordova-1.8.0rc1.js}
  43. +1 −1 lib/android/example/.cordova/config
  44. +18 −0 lib/android/example/AndroidManifest.xml
  45. +18 −0 lib/android/example/AndroidManifest.xml-e
  46. +929 −169 lib/android/example/{.cordova/android/cordova-1.7.0.js → assets/www/cordova-1.8.0rc1.js}
  47. +19 −1 lib/android/example/assets/www/index.html
  48. +20 −1 lib/android/example/assets/www/main.js
  49. +21 −1 lib/android/example/assets/www/master.css
  50. +17 −0 lib/android/example/cordova/create
  51. +2 −0 lib/android/example/cordova/create.bat
  52. +69 −0 lib/android/example/cordova/create.js
  53. +18 −0 lib/android/example/cordova/debug
  54. 0 lib/android/example/cordova/debug.bat
  55. +20 −1 lib/android/example/cordova/emulate
  56. 0 lib/android/example/cordova/emulate.bat
  57. +18 −0 lib/android/example/cordova/log
  58. 0 lib/android/example/cordova/log.bat
  59. +19 −0 lib/android/example/cordova/templates/Activity.java
  60. +18 −0 lib/android/example/cordova/templates/project/AndroidManifest.xml
  61. +19 −1 lib/android/example/cordova/templates/project/assets/www/index.html
  62. +20 −1 lib/android/example/cordova/templates/project/assets/www/main.js
  63. +21 −1 lib/android/example/cordova/templates/project/assets/www/master.css
  64. BIN lib/android/example/cordova/templates/project/res/drawable-hdpi/icon.png
  65. BIN lib/android/example/cordova/templates/project/res/drawable-ldpi/icon.png
  66. BIN lib/android/example/cordova/templates/project/res/drawable-mdpi/icon.png
  67. BIN lib/android/example/cordova/templates/project/res/drawable-xhdpi/icon.png
  68. BIN lib/android/example/cordova/templates/project/res/drawable/icon.png
  69. BIN lib/android/example/{.cordova/android/cordova-1.7.0.jar → libs/cordova-1.8.0rc1.jar}
  70. BIN lib/android/example/res/drawable-hdpi/icon.png
  71. BIN lib/android/example/res/drawable-ldpi/icon.png
  72. BIN lib/android/example/res/drawable-mdpi/icon.png
  73. BIN lib/android/example/res/drawable-xhdpi/icon.png
  74. BIN lib/android/example/res/drawable/icon.png
  75. +19 −0 lib/android/example/src/org/apache/cordova/example/cordovaExample.java
  76. +19 −0 lib/android/example/src/org/apache/cordova/example/cordovaExample.java-e
  77. +20 −6 lib/bada/Res/cordova/accelerometer.js
  78. +19 −7 lib/bada/Res/cordova/camera.js
  79. +21 −0 lib/bada/Res/cordova/compass.js
  80. +18 −5 lib/bada/Res/cordova/contact.js
  81. +19 −7 lib/bada/Res/cordova/cordova.base.js
  82. +20 −0 lib/bada/Res/cordova/cordova.bat
  83. +19 −7 lib/bada/Res/cordova/cordova.js
  84. +21 −0 lib/bada/Res/cordova/debugconsole.js
  85. +21 −0 lib/bada/Res/cordova/device.js
  86. +19 −7 lib/bada/Res/cordova/file.js
  87. +19 −7 lib/bada/Res/cordova/geolocation.js
  88. +19 −7 lib/bada/Res/cordova/network.js
  89. +19 −7 lib/bada/Res/cordova/notification.js
  90. +19 −7 lib/bada/Res/cordova/position.js
  91. +26 −5 lib/bada/Res/eng-GB.xml
  92. +108 −87 lib/bada/Res/index.html
  93. +390 −369 lib/bada/Res/main.js
  94. +1 −1 lib/bada/VERSION
  95. +45 −24 lib/bada/application.xml
  96. +82 −61 lib/bada/inc/Cordova.h
  97. +22 −1 lib/bada/manifest.xml
  98. +1 −1 lib/bada/src/Device.cpp
  99. +42 −2 lib/badaWac/Res/index.html
  100. +1,551 −356 lib/badaWac/Res/js/{cordova.bada.js → cordova.js}
  101. +143 −4 lib/badaWac/Res/js/sample.js
  102. +1 −1 lib/badaWac/VERSION
  103. +21 −0 lib/badaWac/application.xml
  104. +22 −1 lib/badaWac/manifest.xml
  105. 0 lib/blackberry/sample/lib/{cordova.1.7.0 → cordova.1.8.0rc1}/ext-air/Cordova_Network/library.xml
  106. 0 ...rdova.1.7.0 → cordova.1.8.0rc1}/ext-air/Cordova_Network/src/org/apache/cordova/network/Network.as
  107. BIN lib/blackberry/{www/ext/cordova.1.7.0.jar → sample/lib/cordova.1.8.0rc1/ext/cordova.1.8.0rc1.jar}
  108. +886 −173 lib/blackberry/sample/{www/cordova-1.7.0.js → lib/cordova.1.8.0rc1/javascript/cordova-1.8.0rc1.js}
  109. +862 −169 ...le/{www/playbook/cordova-1.7.0.js → lib/cordova.1.8.0rc1/javascript/playbook/cordova-1.8.0rc1.js}
  110. +886 −173 lib/blackberry/{www/cordova-1.7.0.js → sample/www/cordova-1.8.0rc1.js}
  111. BIN lib/blackberry/sample/www/ext/{cordova.1.7.0.jar → cordova.1.8.0rc1.jar}
  112. +1 −1 lib/blackberry/sample/www/index.html
  113. +862 −169 lib/blackberry/{www/playbook/cordova-1.7.0.js → sample/www/playbook/cordova-1.8.0rc1.js}
  114. +3 −2 lib/blackberry/sample/www/plugins.xml
Sorry, we could not display the entire diff because it was too big.
View
2 VERSION
@@ -1 +1 @@
-1.7.0
+1.8.0rc1
View
304 changelog
@@ -1,140 +1,194 @@
ChangeLog
ios
-Ben Birch (2):
- ios camera targetWidth/Height don't match the documentation Fixes CB-183 and CB-54
- iOS camera targetWidth/Height don't match the documentation - changes per shazron
-
-Fil Maj (3):
- [CB-511] Changed deviceproperties version to "cordova" property
- [CB-571] stubbed out create method to remove error when creating Media objects, also added another check if file does not exist.
- [CB-386] added retina ipad splash screens. made sure retina ipad icon files shows up during load.
-
-Shazron Abdullah (40):
- Updated js for iOS only parameter cropToTargetSize (Camera.getPicture)
- Fixed CB-483 - FileTransfer - unknown property attribute 'atomic' when building from source (Xcode 3 only)
- Updated to cordova-js 1.6.1
- Fixed CB-496 - Camera.getPicture - will always return FILE_URI even though DATA_URL specified
- Fixed CB-497 - online and offline events are not being fired in 1.6.0
- Fixed CB-501 - orientationchange event is not being fired in 1.6.0
- Re-fix CB-502, Fixed CB-302 - orientation change event fired off twice on iOS 5.x
- Fixed CB-507 - Remove excessive debug logging in execute delegate method in CDVViewController
- Improved the deprecation of appViewController in CDVPlugin.h
- Added cordova-js (iOS) 1.6.1
- Updated docs/guides for 1.6.1
- Updated VERSION file to 1.6.1
- Added 1.6.1 availability constants
- Fixed pause and resume event firing to use cordova channels onPause and onResume
- Re-fix CB-347 - don't apply .plist fix if the key does not exist
- Implemented CB-536 - Add new selector to CDVViewController to create a new CDVCordovaView, so subclasses can override it
- Removed cropToSize option, defaults to NO always (like the other platforms) re: CB-54, CB-183
- Removing verbose logging that is confusing devs.
- Workaround for CB-509 - geolocation.clearWatch doesn't shut the GPS down under iOS
- Fixed CB-537 - media.seekTo fails with NSRangeException
- Fixed CB-544 - iOS Geolocation fails if Cordova.plist EnableLocation = YES
- Fixed CB-543 - FileTransfer.upload WebKit discarded an uncaught exception
- Fixed CB-391 - camera.getPicture crash
- Update to CB-391 - remove 10 sec purge check, leaving it up to the iOS watchdog to re-send memory warning again
- Fixed CB-535 - Add a way to log JavaScript exceptions, parse errors, and get JS stack frame events (with line numbers, etc)
- Added doc for CB-535 - JavaScript Exception Logging
- Fixed CB-494 - Move Cordova.plist section from "How to use Cordova as a Component Guide" to its own doc
- Added cordova-js 1.7.0rc1
- Updated VERSION to 1.7.0rc1, updated Makefile to include new guides.
- Fixed typo in JavaScript Logging Guide
- Re-fix CB-347 - localStorage / SQLDatabase Error after App update
- Updates for 1.7.0
- Updated templates for the new splash-screen names.
- Fixed crashing in iOS 5.x simulators for new project (malformed CFBundleIcons key)
- Fixed import header for CDVDebugWebView (for framework and sub-project projects)
- Interim checkin of 1.7.0 cordova-js
- Removed extraneous semicolon at end of import (would cause warning, but not an error)
- CDVDebugWebView - handle non-exceptions being thrown
- Killed a zombie. After the heading update was stopped, we don't set the delegate to nil, so we continue to get updates.
- Updated to cordova-js 1.7.0
-
-Tom Clarkson (1):
- adjust splash screen position based on orientation and status bar size
+Becky Gibson (2):
+ Fixes CB-819 fail callback not invoked
+ fixes CB-56 popover placement
+
+Don Coleman (1):
+ [CB-794] Add HTTP status code to FileTransferError object for iOS
+
+Fil Maj (8):
+ [CB-359] Updates to adhere to W3C spec for geolocation. Changing actions based on changes incorporated into cordova-js
+ [CB-359] updating JS file too
+ As per Beckys suggestion, iteration over watch dictionary needs to be done properly
+ updating to latest JS for geo updates
+ fixing a bad method invokation in new rewrite of geo
+ [CB-683] pause/resume events now should pass in event object into handlers
+ [CB-464] rewrite of accel plugin. not working yet.
+ [CB-464] Simplified accel to start/stop actions.
+
+Patrick Mueller (1):
+ [CB-623] added Logger plugin
+
+Shazron Abdullah (35):
+ FIXED CB-513 - Remove cast functionality from CDVPluginResult, obsolete
+ Fixed CB-594 - Remove checks for retainCount
+ Updated bin folder for Cordova 1.7.0
+ Fixed CB-637 - Add a doc on how to update the template project in the bin subfolder
+ Added Apache License to all the things
+ Added Apache License header to more things.
+ Deleted bin/node_modules, added package.json
+ Updating Apache license headers on /bin
+ Added Apache License header to guides and root README
+ Added Apache license headers to Installer docs
+ More Apache License header additions to files
+ Remove console.log (generated file)
+ Updated debug cli script.
+ Fixed CB-669 - verify.sh file in a new Cordova-based application project should not be included in the .app bundle
+ Fixes CB-471 - LocalFileSystem.PERSISTENT "do not back up" file attribute iOS
+ Noticed typo in File.getMetadata - error callback had OK instead of ERROR status
+ Fixes CB-610 - Capture.bundle missing microphone image resources for retina iPad results in mis-drawn recording interface
+ Fixes CB-751 - Undefined function is called when orientation change
+ Fixes CB-754 - Use of -weak_library in 'other library flags' of generated template XCode app causes crashes in Simulator when Obj-C Blocks are used
+ Fixes CB-628 - Scrub installation process, document artifacts of Xcode 3 support, mention no ARC
+ Fixed CB-628 - Scrub installation process, document artifacts of Xcode 3 support, mention no ARC
+ Fixes CB-684 - Not enough time for background execution of WebSQL/LocalStorage backup (when app goes to the background)
+ Fixes CB-766 - Update bin/debug shell script to point to Homebrew ios-sim 1.4 download
+ Fixes CB-464 - Refactor accelerometer native code in iOS
+ Fixes CB-760 - Camera returns incorrect image size
+ Fixed warning in CDVLocation
+ Fixed EXC_BAD_ACCESS error in CDVAccelerometer
+ Fixes CB-818 - Make CDVViewController also implement initWithNibName
+ Fixes CB-825 - Makefile: remove direct download of Markdown and wkhtmltopdf
+ Updated Makefile to with target to install wkhtmltopdf version 0.9.9 by default (0.11.0_rc1 has perf problems)
+ Updated the command-line template under the bin folder.
+ Updated VERSION and associated references to 1.8.0rc1.
+ Updated Makefile after testing on a system that didn't have homebrew installed.
+ Updated Guides for 1.8.0
+ Fixes CB-835 - watchPosition callbacks are not being called
blackberry
-Fil Maj (1):
- bumping version to 1.7.0rc1
+Don Coleman (1):
+ [CB-793] Add HTTP status code to FileTransferError object
-shazron (1):
- Updated BB to 1.7.0
+Drew Walters (8):
+ Move org.apache.cordova.media to org.apache.cordova.capture.
+ Add Media API.
+ [CB-762] Change BlackBerry plugin from Contact to Contacts.
+ Prefix file:// protocol for resolveLocalFileSystemURI if not specified.
+ Move FileUtils from org.apache.cordova.file to org.apache.cordova.util.
+ [CB-465] Refactor Accelerometer code for addWatch / clearWatch.
+ [CB-822] Revert change to prefix file protocol for resolveLocalFileSystemURI
+ [CB-793] Minor formatting cleanup.
+
+Fil Maj (2):
+ [CB-465] First pass at accel update. Watch acceleration doesnt seem to work yet though
+ [CB-465] Simplified accel plugin (still based on Drews implementation) to just start/stop actions.
+
+Tim Kim (1):
+ Updating to 1.8.0rc1
android
-Fil Maj (3):
- [CB-164] Changed network plugin to sync from async and removed setKeepCallback(true) on plugin result in there. Fixes location.reload() not firing deviceready due to network plugin being unresponsive
- Proper fix for CB-164. Online/offline events now propagated to webview properly
- [CB-473] run ant clean before ant debug install
-
-Joe Bowser (8):
- CB-480 work, back button and history issues are preventing this from being tested properly
- Fixed back button behaviour. WIN
- Reverting the back button change that I made, for some reason certain methods aren't inherited when you extend DroidGap
- Fix for CB-549
- Incrementing project to 1.7.0rc1
- Incrementing project to 1.7.0rc1
- Updating the version to 1.7.0
- Updating the JS and re-tagging 1.7.0
-
-macdonst (4):
- CB-539: FileTransfer.download fails when target starts with 'file://'
- Removing un-needed logs
- Refactor Android SplashScreen
- Adding SplashScreen plugin to plugins.xml
+Don Coleman (1):
+ [CB-792] Add HTTP status code to FileTransferError
+
+Fil Maj (21):
+ dont check in node_modules peepz!
+ added package.json for npm install goodness
+ documented running npm install
+ comeat me lawyers
+ adding node_modules to gitignore
+ restructured geolocation plugin
+ Fixes for new geo stuff
+ axing lowercase java file
+ adding uppercase java file!
+ updating JS to latest for geolocation updates
+ [CB-683] Pause and resume events should route through fireDocumentEvent so we get the event object passed into the handler
+ [CB-683] updating JS for fix for 683
+ [CB-804] ADded proper cordova icon sizes for the create script
+ [CB-463] rewrite of accel plugin
+ [CB-463] added the JS updates for accel refactor
+ [CB-463] added accuracy checking to native accel implementation, this way getCurrentAcceleration returns fairly accurate results
+ removed a trailing log
+ [CB-463] added accuracy checking to native accel implementation, this way getCurrentAcceleration returns fairly accurate results
+ removed a trailing log
+ [CB-463] updated js and rewrote accel plugin again to support the start/stop approach. optimized. single callback used for message passing
+ Small spacing fixes
+
+Joe Bowser (15):
+ We should not be having a compiled version of cordova.jar in the test directory
+ Adding Apache Header to Test Directory
+ Forgot to add lifecycle/index2.html's header
+ Adding more Apache Headers. Not sure if this should have headers or not
+ Working towards Apache compliance
+ Adding more Apache licence headers
+ Accidentally committed a vim swp file
+ Adding header to test cordova.xml
+ updating the test plugins
+ Removing Default Android Graphics and replacing them with our own
+ Removing the commons-codec
+ Updating README telling people to copy commons-codec
+ Modifying generated classpath
+ Don't commit Eclipse preferences
+ Tweaked create so it fetches the commons-codec using curl
+
+Michael Brooks (1):
+ Fix README.md formatting to install commons-codec-1.6.jar
+
+filmaj (2):
+ [CB-659] create script should work on android
+ [CB-659] create script for android on windows now works fully. also pulls down commons-codec jar appropriately
+
+macdonst (5):
+ Properly querying the Andoid content DB when deleteing an image file
+ Switch to using stripFileProtocol in FileUtils.notifyDelete
+ Fix problem in Android template example getPicture
+ CB-808: CameraLauncher leaks bitmaps in Android
+ Upping version to 1.8.0rc1
windows
-Fil Maj (2):
- added issue with regards to debugging media functionality in the framework to the README
- Updating various script files to latest
-
-Jesse MacFadyen (28):
- added hint to debug output when device ready cannot fire because the dev did not include the tag in their page.
- release was private, and therefore uncallable from js
- changed test project to use updated tests + jasmine
- remove method added, dispatches not supported error
- debug output for exception in ProcessCommand
- remove unused
- added mouse support
- fancy animation on load, ala metro style
- splash image is animated away on load
- update JS from cordova-js, update version file
- rebuild of lib + template gen
- Added notification alert/confirm button text. CB-110
- remove version number from readme instructions so we don't have to change it every time.
- remove old build cruft
- rejigger, packaged zip is rc1 but assets are 1.7.0
- updates 1.7.0.js file with latest changes, remove rc version
- fetch meta viewport on page load
- CB-596
- wip for handling both meta + preventDefault
- metaviewport tag content attribute user-scalable yes|no is observed.
- added tagged 1.7.0 js src, alert patch in template with comment
- 1.7.0 release packaging
- remove old template
- update example to 1.7.0
- filetransfer download returns FileEntry on success
- repackage for 1.7.0
- updated test project for jasmine tests
- update template for 1.7.0
-
-Takashi Okamoto (1):
- Fixed filetransfer boundary without parameter.
-
-filmaj (4):
- [CB-559] Cache instantiated plugins in CommandFactory
- [CB-338] fixing firing online and offline events
- [CB-336] getFormatData did not return due to threading issues in Capture.cs
- [CB-334] Nickname was not being returned properly in contacts.search
+Jesse MacFadyen (19):
+ CB-520 : back button handling is performed in js code and uses window.history.back()
+ parent path is now a string and not a FileEntry CB-665
+ added try/catch for backbutton handling when a page is not loaded in the webbrowser, was an exception
+ filepath contains the extra slash to match other devices, and passes tests that expect specific filepath string values, although cannonically the same
+ added output log for audio file not found
+ added deploy tool to install and launch on device WIP
+ removed duplicate mobile-spec tests, test project now redirects to tests hosted in the gh_pages branch of mobilespec
+ debug + emulate scripts
+ added usage, and parameterized device to deploy to
+ added command line tools to template
+ removed debug log
+ updated bare template with latest changes
+ Fixed threading issue in audio, + Defect [CB-602], added more info to log statements, INFO/ERROR
+ removed calls to resolve DNS because they take 30 seconds when no network is available and prevent deviceready
+ commented out unused - unminified js code
+ Consolidated exception handling + option parsing
+ update assembly info for 1.8
+ added platform info, for sanity
+ updated example,templates,tests to 1.8.0rc1
+
+filmaj (1):
+ [CB-466] Rewrite accel for WP7
webos
-hermwong (2):
- update version to 1.7.0
- modify Makefile to work with windows
+hermwong (4):
+ modifications to OS checking in Makefile
+ CB-557 make sure Makefile works on Win & OSX
+ update to 1.8.0
+ added Apache license header
bada
-Anis Kadri (2):
- updating version to 1.7.0rc1
- updating version to 1.7.0
+Anis Kadri (3):
+ updating apache licenses with apache rat
+ updating VERSION for 1.2
+ updating Device version
badaWac
+Anis Kadri (15):
+ updating apache licences with apache rat
+ adding getPicture and captureImage examples
+ updating UI
+ adding captureVideo example
+ updating cordova.js
+ updating UI with video capture buttons
+ updating sample UI
+ updating cordova.js
+ updating sample code
+ adding latest cordovajs
+ changing filename
+ updating js reference
+ updating to lastest js
+ updating cordova.js version
+ updating VERSION
+
View
22 doc/_index.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -90,6 +91,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -187,6 +190,7 @@
<li><a href="cordova_events_events.md.html#deviceready">deviceready</a></li>
<li><a href="cordova_file_file.md.html#DirectoryEntry">DirectoryEntry</a></li>
<li><a href="cordova_file_file.md.html#DirectoryReader">DirectoryReader</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
</ul>
<h2>E</h2>
@@ -295,6 +299,18 @@
<li><a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a></li>
<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
</ul>
+<h2>U</h2>
+
+<ul>
+<li><a href="guide_upgrading_android_index.md.html#Upgrading%20Cordova%20Android">Upgrading Cordova Android</a></li>
+<li><a href="guide_upgrading_bada_index.md.html#Upgrading%20Cordova%20Bada">Upgrading Cordova Bada</a></li>
+<li><a href="guide_upgrading_blackberry_index.md.html#Upgrading%20Cordova%20BlackBerry">Upgrading Cordova BlackBerry</a></li>
+<li><a href="guide_upgrading_ios_index.md.html#Upgrading%20Cordova%20iOS">Upgrading Cordova iOS</a></li>
+<li><a href="guide_upgrading_symbian_index.md.html#Upgrading%20Cordova%20Symbian">Upgrading Cordova Symbian</a></li>
+<li><a href="guide_upgrading_webos_index.md.html#Upgrading%20Cordova%20webOS">Upgrading Cordova webOS</a></li>
+<li><a href="guide_upgrading_windows-phone_index.md.html#Upgrading%20Cordova%20Windows%20Phone">Upgrading Cordova Windows Phone</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+</ul>
<h2>V</h2>
<ul>
View
2 doc/_index.json
@@ -1 +1 @@
-[{"term":"Acceleration","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"Accelerometer","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometer.clearWatch","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometer.getCurrentAcceleration","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometer.watchAcceleration","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometerError","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometerOptions","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometerSuccess","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"API Reference","url":"index.md.html"},{"term":"backbutton","url":"cordova_events_events.md.html"},{"term":"batterycritical","url":"cordova_events_events.md.html"},{"term":"batterylow","url":"cordova_events_events.md.html"},{"term":"batterystatus","url":"cordova_events_events.md.html"},{"term":"Camera","url":"cordova_camera_camera.md.html"},{"term":"camera.getPicture","url":"cordova_camera_camera.md.html"},{"term":"cameraError","url":"cordova_camera_camera.md.html"},{"term":"cameraOptions","url":"cordova_camera_camera.md.html"},{"term":"cameraSuccess","url":"cordova_camera_camera.md.html"},{"term":"Capture","url":"cordova_media_capture_capture.md.html"},{"term":"capture.captureAudio","url":"cordova_media_capture_capture.md.html"},{"term":"capture.captureImage","url":"cordova_media_capture_capture.md.html"},{"term":"capture.captureVideo","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureAudioOptions","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureCB","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureError","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureErrorCB","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureImageOptions","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureVideoOptions","url":"cordova_media_capture_capture.md.html"},{"term":"Compass","url":"cordova_compass_compass.md.html"},{"term":"compass.clearWatch","url":"cordova_compass_compass.md.html"},{"term":"compass.clearWatchFilter","url":"cordova_compass_compass.md.html"},{"term":"compass.getCurrentHeading","url":"cordova_compass_compass.md.html"},{"term":"compass.watchHeading","url":"cordova_compass_compass.md.html"},{"term":"compass.watchHeadingFilter","url":"cordova_compass_compass.md.html"},{"term":"CompassError","url":"cordova_compass_compass.md.html"},{"term":"compassError","url":"cordova_compass_compass.md.html"},{"term":"compassHeading","url":"cordova_compass_compass.md.html"},{"term":"compassOptions","url":"cordova_compass_compass.md.html"},{"term":"compassSuccess","url":"cordova_compass_compass.md.html"},{"term":"ConfigurationData","url":"cordova_media_capture_capture.md.html"},{"term":"Connection","url":"cordova_connection_connection.md.html"},{"term":"connection.type","url":"cordova_connection_connection.md.html"},{"term":"Contact","url":"cordova_contacts_contacts.md.html"},{"term":"ContactAddress","url":"cordova_contacts_contacts.md.html"},{"term":"contactError","url":"cordova_contacts_contacts.md.html"},{"term":"ContactError","url":"cordova_contacts_contacts.md.html"},{"term":"ContactField","url":"cordova_contacts_contacts.md.html"},{"term":"contactFields","url":"cordova_contacts_contacts.md.html"},{"term":"contactFindOptions","url":"cordova_contacts_contacts.md.html"},{"term":"ContactFindOptions","url":"cordova_contacts_contacts.md.html"},{"term":"ContactName","url":"cordova_contacts_contacts.md.html"},{"term":"ContactOrganization","url":"cordova_contacts_contacts.md.html"},{"term":"Contacts","url":"cordova_contacts_contacts.md.html"},{"term":"contacts.create","url":"cordova_contacts_contacts.md.html"},{"term":"contacts.find","url":"cordova_contacts_contacts.md.html"},{"term":"contactSuccess","url":"cordova_contacts_contacts.md.html"},{"term":"Coordinates","url":"cordova_geolocation_geolocation.md.html"},{"term":"Database","url":"cordova_storage_storage.md.html"},{"term":"database_displayname","url":"cordova_storage_storage.md.html"},{"term":"database_name","url":"cordova_storage_storage.md.html"},{"term":"database_size","url":"cordova_storage_storage.md.html"},{"term":"database_version","url":"cordova_storage_storage.md.html"},{"term":"Device","url":"cordova_device_device.md.html"},{"term":"device.cordova","url":"cordova_device_device.md.html"},{"term":"device.name","url":"cordova_device_device.md.html"},{"term":"device.platform","url":"cordova_device_device.md.html"},{"term":"device.uuid","url":"cordova_device_device.md.html"},{"term":"device.version","url":"cordova_device_device.md.html"},{"term":"deviceready","url":"cordova_events_events.md.html"},{"term":"DirectoryEntry","url":"cordova_file_file.md.html"},{"term":"DirectoryReader","url":"cordova_file_file.md.html"},{"term":"endcallbutton","url":"cordova_events_events.md.html"},{"term":"Events","url":"cordova_events_events.md.html"},{"term":"File","url":"cordova_file_file.md.html"},{"term":"FileEntry","url":"cordova_file_file.md.html"},{"term":"FileError","url":"cordova_file_file.md.html"},{"term":"FileReader","url":"cordova_file_file.md.html"},{"term":"FileSystem","url":"cordova_file_file.md.html"},{"term":"FileTransfer","url":"cordova_file_file.md.html"},{"term":"FileTransferError","url":"cordova_file_file.md.html"},{"term":"FileUploadOptions","url":"cordova_file_file.md.html"},{"term":"FileUploadResult","url":"cordova_file_file.md.html"},{"term":"FileWriter","url":"cordova_file_file.md.html"},{"term":"Flags","url":"cordova_file_file.md.html"},{"term":"Geolocation","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocation.clearWatch","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocation.getCurrentPosition","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocation.watchPosition","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocationError","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocationOptions","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocationSuccess","url":"cordova_geolocation_geolocation.md.html"},{"term":"Getting Started Guides","url":"guide_getting-started_index.md.html"},{"term":"Getting Started with Android","url":"guide_getting-started_android_index.md.html"},{"term":"Getting Started with Bada","url":"guide_getting-started_bada_index.md.html"},{"term":"Getting Started with Blackberry","url":"guide_getting-started_blackberry_index.md.html"},{"term":"Getting Started with iOS","url":"guide_getting-started_ios_index.md.html"},{"term":"Getting Started with Symbian","url":"guide_getting-started_symbian_index.md.html"},{"term":"Getting Started with WebOS","url":"guide_getting-started_webos_index.md.html"},{"term":"Getting Started with Windows Phone","url":"guide_getting-started_windows-phone_index.md.html"},{"term":"Guides","url":"index.md.html"},{"term":"LocalFileSystem","url":"cordova_file_file.md.html"},{"term":"localStorage","url":"cordova_storage_storage.md.html"},{"term":"Media","url":"cordova_media_media.md.html"},{"term":"media.getCurrentPosition","url":"cordova_media_media.md.html"},{"term":"media.getDuration","url":"cordova_media_media.md.html"},{"term":"media.pause","url":"cordova_media_media.md.html"},{"term":"media.play","url":"cordova_media_media.md.html"},{"term":"media.release","url":"cordova_media_media.md.html"},{"term":"media.seekTo","url":"cordova_media_media.md.html"},{"term":"media.startRecord","url":"cordova_media_media.md.html"},{"term":"media.stop","url":"cordova_media_media.md.html"},{"term":"media.stopRecord","url":"cordova_media_media.md.html"},{"term":"mediaError","url":"cordova_media_media.md.html"},{"term":"MediaError","url":"cordova_media_media.md.html"},{"term":"MediaFile","url":"cordova_media_capture_capture.md.html"},{"term":"MediaFile.getFormatData","url":"cordova_media_capture_capture.md.html"},{"term":"MediaFileData","url":"cordova_media_capture_capture.md.html"},{"term":"menubutton","url":"cordova_events_events.md.html"},{"term":"Metadata","url":"cordova_file_file.md.html"},{"term":"Notification","url":"cordova_notification_notification.md.html"},{"term":"notification.alert","url":"cordova_notification_notification.md.html"},{"term":"notification.beep","url":"cordova_notification_notification.md.html"},{"term":"notification.confirm","url":"cordova_notification_notification.md.html"},{"term":"notification.vibrate","url":"cordova_notification_notification.md.html"},{"term":"offline","url":"cordova_events_events.md.html"},{"term":"online","url":"cordova_events_events.md.html"},{"term":"openDatabase","url":"cordova_storage_storage.md.html"},{"term":"pause","url":"cordova_events_events.md.html"},{"term":"Position","url":"cordova_geolocation_geolocation.md.html"},{"term":"PositionError","url":"cordova_geolocation_geolocation.md.html"},{"term":"resume","url":"cordova_events_events.md.html"},{"term":"searchbutton","url":"cordova_events_events.md.html"},{"term":"SQLError","url":"cordova_storage_storage.md.html"},{"term":"SQLResultSet","url":"cordova_storage_storage.md.html"},{"term":"SQLResultSetList","url":"cordova_storage_storage.md.html"},{"term":"SQLTransaction","url":"cordova_storage_storage.md.html"},{"term":"startcallbutton","url":"cordova_events_events.md.html"},{"term":"Storage","url":"cordova_storage_storage.md.html"},{"term":"volumedownbutton","url":"cordova_events_events.md.html"},{"term":"volumeupbutton","url":"cordova_events_events.md.html"}]
+[{"term":"Acceleration","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"Accelerometer","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometer.clearWatch","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometer.getCurrentAcceleration","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometer.watchAcceleration","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometerError","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometerOptions","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"accelerometerSuccess","url":"cordova_accelerometer_accelerometer.md.html"},{"term":"API Reference","url":"index.md.html"},{"term":"backbutton","url":"cordova_events_events.md.html"},{"term":"batterycritical","url":"cordova_events_events.md.html"},{"term":"batterylow","url":"cordova_events_events.md.html"},{"term":"batterystatus","url":"cordova_events_events.md.html"},{"term":"Camera","url":"cordova_camera_camera.md.html"},{"term":"camera.getPicture","url":"cordova_camera_camera.md.html"},{"term":"cameraError","url":"cordova_camera_camera.md.html"},{"term":"cameraOptions","url":"cordova_camera_camera.md.html"},{"term":"cameraSuccess","url":"cordova_camera_camera.md.html"},{"term":"Capture","url":"cordova_media_capture_capture.md.html"},{"term":"capture.captureAudio","url":"cordova_media_capture_capture.md.html"},{"term":"capture.captureImage","url":"cordova_media_capture_capture.md.html"},{"term":"capture.captureVideo","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureAudioOptions","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureCB","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureError","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureErrorCB","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureImageOptions","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureVideoOptions","url":"cordova_media_capture_capture.md.html"},{"term":"Compass","url":"cordova_compass_compass.md.html"},{"term":"compass.clearWatch","url":"cordova_compass_compass.md.html"},{"term":"compass.clearWatchFilter","url":"cordova_compass_compass.md.html"},{"term":"compass.getCurrentHeading","url":"cordova_compass_compass.md.html"},{"term":"compass.watchHeading","url":"cordova_compass_compass.md.html"},{"term":"compass.watchHeadingFilter","url":"cordova_compass_compass.md.html"},{"term":"CompassError","url":"cordova_compass_compass.md.html"},{"term":"compassError","url":"cordova_compass_compass.md.html"},{"term":"compassHeading","url":"cordova_compass_compass.md.html"},{"term":"compassOptions","url":"cordova_compass_compass.md.html"},{"term":"compassSuccess","url":"cordova_compass_compass.md.html"},{"term":"ConfigurationData","url":"cordova_media_capture_capture.md.html"},{"term":"Connection","url":"cordova_connection_connection.md.html"},{"term":"connection.type","url":"cordova_connection_connection.md.html"},{"term":"Contact","url":"cordova_contacts_contacts.md.html"},{"term":"ContactAddress","url":"cordova_contacts_contacts.md.html"},{"term":"contactError","url":"cordova_contacts_contacts.md.html"},{"term":"ContactError","url":"cordova_contacts_contacts.md.html"},{"term":"ContactField","url":"cordova_contacts_contacts.md.html"},{"term":"contactFields","url":"cordova_contacts_contacts.md.html"},{"term":"contactFindOptions","url":"cordova_contacts_contacts.md.html"},{"term":"ContactFindOptions","url":"cordova_contacts_contacts.md.html"},{"term":"ContactName","url":"cordova_contacts_contacts.md.html"},{"term":"ContactOrganization","url":"cordova_contacts_contacts.md.html"},{"term":"Contacts","url":"cordova_contacts_contacts.md.html"},{"term":"contacts.create","url":"cordova_contacts_contacts.md.html"},{"term":"contacts.find","url":"cordova_contacts_contacts.md.html"},{"term":"contactSuccess","url":"cordova_contacts_contacts.md.html"},{"term":"Coordinates","url":"cordova_geolocation_geolocation.md.html"},{"term":"Database","url":"cordova_storage_storage.md.html"},{"term":"database_displayname","url":"cordova_storage_storage.md.html"},{"term":"database_name","url":"cordova_storage_storage.md.html"},{"term":"database_size","url":"cordova_storage_storage.md.html"},{"term":"database_version","url":"cordova_storage_storage.md.html"},{"term":"Device","url":"cordova_device_device.md.html"},{"term":"device.cordova","url":"cordova_device_device.md.html"},{"term":"device.name","url":"cordova_device_device.md.html"},{"term":"device.platform","url":"cordova_device_device.md.html"},{"term":"device.uuid","url":"cordova_device_device.md.html"},{"term":"device.version","url":"cordova_device_device.md.html"},{"term":"deviceready","url":"cordova_events_events.md.html"},{"term":"DirectoryEntry","url":"cordova_file_file.md.html"},{"term":"DirectoryReader","url":"cordova_file_file.md.html"},{"term":"Domain Whitelist Guide","url":"guide_whitelist_index.md.html"},{"term":"endcallbutton","url":"cordova_events_events.md.html"},{"term":"Events","url":"cordova_events_events.md.html"},{"term":"File","url":"cordova_file_file.md.html"},{"term":"FileEntry","url":"cordova_file_file.md.html"},{"term":"FileError","url":"cordova_file_file.md.html"},{"term":"FileReader","url":"cordova_file_file.md.html"},{"term":"FileSystem","url":"cordova_file_file.md.html"},{"term":"FileTransfer","url":"cordova_file_file.md.html"},{"term":"FileTransferError","url":"cordova_file_file.md.html"},{"term":"FileUploadOptions","url":"cordova_file_file.md.html"},{"term":"FileUploadResult","url":"cordova_file_file.md.html"},{"term":"FileWriter","url":"cordova_file_file.md.html"},{"term":"Flags","url":"cordova_file_file.md.html"},{"term":"Geolocation","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocation.clearWatch","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocation.getCurrentPosition","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocation.watchPosition","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocationError","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocationOptions","url":"cordova_geolocation_geolocation.md.html"},{"term":"geolocationSuccess","url":"cordova_geolocation_geolocation.md.html"},{"term":"Getting Started Guides","url":"guide_getting-started_index.md.html"},{"term":"Getting Started with Android","url":"guide_getting-started_android_index.md.html"},{"term":"Getting Started with Bada","url":"guide_getting-started_bada_index.md.html"},{"term":"Getting Started with Blackberry","url":"guide_getting-started_blackberry_index.md.html"},{"term":"Getting Started with iOS","url":"guide_getting-started_ios_index.md.html"},{"term":"Getting Started with Symbian","url":"guide_getting-started_symbian_index.md.html"},{"term":"Getting Started with WebOS","url":"guide_getting-started_webos_index.md.html"},{"term":"Getting Started with Windows Phone","url":"guide_getting-started_windows-phone_index.md.html"},{"term":"Guides","url":"index.md.html"},{"term":"LocalFileSystem","url":"cordova_file_file.md.html"},{"term":"localStorage","url":"cordova_storage_storage.md.html"},{"term":"Media","url":"cordova_media_media.md.html"},{"term":"media.getCurrentPosition","url":"cordova_media_media.md.html"},{"term":"media.getDuration","url":"cordova_media_media.md.html"},{"term":"media.pause","url":"cordova_media_media.md.html"},{"term":"media.play","url":"cordova_media_media.md.html"},{"term":"media.release","url":"cordova_media_media.md.html"},{"term":"media.seekTo","url":"cordova_media_media.md.html"},{"term":"media.startRecord","url":"cordova_media_media.md.html"},{"term":"media.stop","url":"cordova_media_media.md.html"},{"term":"media.stopRecord","url":"cordova_media_media.md.html"},{"term":"mediaError","url":"cordova_media_media.md.html"},{"term":"MediaError","url":"cordova_media_media.md.html"},{"term":"MediaFile","url":"cordova_media_capture_capture.md.html"},{"term":"MediaFile.getFormatData","url":"cordova_media_capture_capture.md.html"},{"term":"MediaFileData","url":"cordova_media_capture_capture.md.html"},{"term":"menubutton","url":"cordova_events_events.md.html"},{"term":"Metadata","url":"cordova_file_file.md.html"},{"term":"Notification","url":"cordova_notification_notification.md.html"},{"term":"notification.alert","url":"cordova_notification_notification.md.html"},{"term":"notification.beep","url":"cordova_notification_notification.md.html"},{"term":"notification.confirm","url":"cordova_notification_notification.md.html"},{"term":"notification.vibrate","url":"cordova_notification_notification.md.html"},{"term":"offline","url":"cordova_events_events.md.html"},{"term":"online","url":"cordova_events_events.md.html"},{"term":"openDatabase","url":"cordova_storage_storage.md.html"},{"term":"pause","url":"cordova_events_events.md.html"},{"term":"Position","url":"cordova_geolocation_geolocation.md.html"},{"term":"PositionError","url":"cordova_geolocation_geolocation.md.html"},{"term":"resume","url":"cordova_events_events.md.html"},{"term":"searchbutton","url":"cordova_events_events.md.html"},{"term":"SQLError","url":"cordova_storage_storage.md.html"},{"term":"SQLResultSet","url":"cordova_storage_storage.md.html"},{"term":"SQLResultSetList","url":"cordova_storage_storage.md.html"},{"term":"SQLTransaction","url":"cordova_storage_storage.md.html"},{"term":"startcallbutton","url":"cordova_events_events.md.html"},{"term":"Storage","url":"cordova_storage_storage.md.html"},{"term":"Upgrading Cordova Android","url":"guide_upgrading_android_index.md.html"},{"term":"Upgrading Cordova Bada","url":"guide_upgrading_bada_index.md.html"},{"term":"Upgrading Cordova BlackBerry","url":"guide_upgrading_blackberry_index.md.html"},{"term":"Upgrading Cordova iOS","url":"guide_upgrading_ios_index.md.html"},{"term":"Upgrading Cordova Symbian","url":"guide_upgrading_symbian_index.md.html"},{"term":"Upgrading Cordova webOS","url":"guide_upgrading_webos_index.md.html"},{"term":"Upgrading Cordova Windows Phone","url":"guide_upgrading_windows-phone_index.md.html"},{"term":"Upgrading Guides","url":"guide_upgrading_index.md.html"},{"term":"volumedownbutton","url":"cordova_events_events.md.html"},{"term":"volumeupbutton","url":"cordova_events_events.md.html"}]
View
67 doc/cordova_accelerometer_accelerometer.md.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -70,6 +71,7 @@
<option value="Accelerometer_methods">      - Methods</option>
<option value="Accelerometer_arguments">      - Arguments</option>
<option value="Accelerometer_objects_read_only">      - Objects (Read-Only)</option>
+<option value="Accelerometer_permissions">      - Permissions</option>
<option value="accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</option>
<option value="accelerometer.getCurrentAcceleration_description">      - Description</option>
<option value="accelerometer.getCurrentAcceleration_supported_platforms">      - Supported Platforms</option>
@@ -121,6 +123,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -158,6 +162,62 @@
<ul>
<li><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a></li>
</ul>
+<h2>
+<a name="Accelerometer_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a>" value="org.apache.cordova.AccelListener"/&gt;
+</code></pre>
+
+<h3>Bada</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>BlackBerry WebWorks</h3>
+
+<h4>www/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a>" value="org.apache.cordova.accelerometer.<a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a>" /&gt;
+</code></pre>
+
+<h4>www/config.xml</h4>
+
+<pre class="prettyprint"><code>&lt;feature id="blackberry.system" required="true" version="1.0.0.0" /&gt;
+&lt;feature id="org.apache.cordova" required="true" version="1.0.0" /&gt;
+</code></pre>
+
+<h3>iOS</h3>
+
+<h4>App/Supporting Files/Cordova.plist</h4>
+
+<pre class="prettyprint"><code>&lt;key&gt;Plugins&lt;/key&gt;
+&lt;dict&gt;
+ &lt;key&gt;<a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a>&lt;/key&gt;
+ &lt;string&gt;CDVAccelerometer&lt;/string&gt;
+&lt;/dict&gt;
+</code></pre>
+
+<h3>webOS</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>Windows Phone</h3>
+
+<h4>Properties/WPAppManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;Capabilities&gt;
+ &lt;Capability Name="ID_CAP_SENSORS"/&gt;
+&lt;/Capabilities&gt;
+</code></pre>
+
+<p>Reference: <a class="external" href="http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx">Application Manifest for Windows Phone</a></p>
+
<hr>
<h1><a name="accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</a></h1>
@@ -527,6 +587,7 @@
<li>iOS</li>
<li>Windows Phone 7 (Mango)</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="Acceleration_quick_example">Quick Example</a>
View
93 doc/cordova_camera_camera.md.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -68,9 +69,11 @@
<h1>Camera</h1>
<small><select><option value="Camera">Camera</option>
<option value="Camera_methods">      - Methods</option>
+<option value="Camera_permissions">      - Permissions</option>
<option value="camera.getPicture">camera.getPicture</option>
<option value="camera.getPicture_description">      - Description</option>
<option value="camera.getPicture_supported_platforms">      - Supported Platforms</option>
+<option value="camera.getPicture_ios_quirks">      - iOS Quirks</option>
<option value="camera.getPicture_windows_phone_7_quirks">      - Windows Phone 7 Quirks</option>
<option value="camera.getPicture_quick_example">      - Quick Example</option>
<option value="camera.getPicture_full_example">      - Full Example</option>
@@ -83,7 +86,7 @@
<option value="cameraOptions_options">      - Options</option>
<option value="cameraOptions_android_quirks">      - Android Quirks</option>
<option value="cameraOptions_blackberry_quirks">      - BlackBerry Quirks</option>
-<option value="cameraOptions_palm_quirks">      - Palm Quirks</option>
+<option value="cameraOptions_webos_quirks">      - webOS Quirks</option>
<option value="cameraOptions_ios_quirks">      - iOS Quirks</option>
<option value="cameraOptions_windows_phone_7_quirks">      - Windows Phone 7 Quirks</option>
<option value="cameraOptions_bada_1_2_quirks">      - Bada 1.2 Quirks</option></select></small>
@@ -110,6 +113,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -129,6 +134,72 @@
<ul>
<li><a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a></li>
</ul>
+<h2>
+<a name="Camera_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_camera_camera.md.html#Camera">Camera</a>" value="org.apache.cordova.CameraLauncher" /&gt;
+</code></pre>
+
+<h4>app/AndroidManifest</h4>
+
+<pre class="prettyprint"><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
+</code></pre>
+
+<h3>Bada</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>BlackBerry WebWorks</h3>
+
+<h4>www/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_camera_camera.md.html#Camera">Camera</a>" value="org.apache.cordova.camera.<a href="cordova_camera_camera.md.html#Camera">Camera</a>" /&gt;
+</code></pre>
+
+<h4>www/config.xml</h4>
+
+<pre class="prettyprint"><code>&lt;feature id="blackberry.media.camera" /&gt;
+
+&lt;rim:permissions&gt;
+ &lt;rim:permit&gt;use_camera&lt;/rim:permit&gt;
+&lt;/rim:permissions&gt;
+</code></pre>
+
+<h3>iOS</h3>
+
+<h4>App/Supporting Files/Cordova.plist</h4>
+
+<pre class="prettyprint"><code>&lt;key&gt;Plugins&lt;/key&gt;
+&lt;dict&gt;
+ &lt;key&gt;<a href="cordova_camera_camera.md.html#Camera">Camera</a>&lt;/key&gt;
+ &lt;string&gt;CDVCamera&lt;/string&gt;
+&lt;/dict&gt;
+</code></pre>
+
+<h3>webOS</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>Windows Phone</h3>
+
+<h4>Properties/WPAppManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;Capabilities&gt;
+ &lt;Capability Name="ID_CAP_CAMERA"/&gt;
+ &lt;Capability Name="ID_CAP_ISV_CAMERA"/&gt;
+ &lt;Capability Name="ID_HW_FRONTCAMERA"/&gt;
+&lt;/Capabilities&gt;
+</code></pre>
+
+<p>Reference: <a class="external" href="http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx">Application Manifest for Windows Phone</a></p>
+
<hr>
<h1><a name="camera.getPicture">camera.getPicture</a></h1>
@@ -168,11 +239,18 @@
<ul>
<li>Android</li>
<li>Blackberry WebWorks (OS 5.0 and higher)</li>
-<li>iPhone</li>
+<li>iOS</li>
<li>Windows Phone 7 ( Mango )</li>
<li>Bada 1.2</li>
+<li>webOS</li>
</ul>
<h2>
+<a name="camera.getPicture_ios_quirks">iOS Quirks</a>
+</h2>
+
+<p>Including a JavaScript alert() in either of the callback functions can cause problems. Wrap the alert in a setTimeout() to allow the iOS image picker or popover to fully close before the alert is displayed: setTimeout("alert('message');", 0);</p>
+
+<h2>
<a name="camera.getPicture_windows_phone_7_quirks">Windows Phone 7 Quirks</a>
</h2>
@@ -467,7 +545,7 @@
<li>Ignores the <code>saveToPhotoAlbum</code> parameter.</li>
</ul>
<h2>
-<a name="cameraOptions_palm_quirks">Palm Quirks</a>
+<a name="cameraOptions_webos_quirks">webOS Quirks</a>
</h2>
<ul>
@@ -485,8 +563,7 @@
<ul>
<li>Set <code>quality</code> below 50 to avoid memory error on some devices.</li>
-<li>When <code>destinationType.FILE_URI</code> is used, photos are saved in the application's temporary directory.</li>
-<li>The contents of the application's temporary directory is deleted when the application ends. Developers may also delete the contents of this directory using the navigator.fileMgr APIs if storage space is a concern.</li>
+<li>When <code>destinationType.FILE_URI</code> is used, photos are saved in the application's temporary directory. Developers may delete the contents of this directory using the navigator.fileMgr APIs if storage space is a concern.</li>
</ul>
<h2>
<a name="cameraOptions_windows_phone_7_quirks">Windows Phone 7 Quirks</a>
View
61 doc/cordova_compass_compass.md.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -69,6 +70,7 @@
<small><select><option value="Compass">Compass</option>
<option value="Compass_methods">      - Methods</option>
<option value="Compass_arguments">      - Arguments</option>
+<option value="Compass_permissions">      - Permissions</option>
<option value="compass.getCurrentHeading">compass.getCurrentHeading</option>
<option value="compass.getCurrentHeading_description">      - Description</option>
<option value="compass.getCurrentHeading_supported_platforms">      - Supported Platforms</option>
@@ -127,6 +129,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -162,6 +166,54 @@
<li><a href="cordova_compass_compass.md.html#compassOptions">compassOptions</a></li>
<li><a href="cordova_compass_compass.md.html#compassHeading">compassHeading</a></li>
</ul>
+<h2>
+<a name="Compass_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_compass_compass.md.html#Compass">Compass</a>" value="org.apache.cordova.CompassListener" /&gt;
+</code></pre>
+
+<h3>Bada</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>BlackBerry WebWorks</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>iOS</h3>
+
+<h4>App/Supporting Files/Cordova.plist</h4>
+
+<pre class="prettyprint"><code>&lt;key&gt;Plugins&lt;/key&gt;
+&lt;dict&gt;
+ &lt;key&gt;<a href="cordova_compass_compass.md.html#Compass">Compass</a>&lt;/key&gt;
+ &lt;string&gt;CDVLocation&lt;/string&gt;
+&lt;/dict&gt;
+</code></pre>
+
+<h3>webOS</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>Windows Phone</h3>
+
+<h4>Properties/WPAppManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;Capabilities&gt;
+ &lt;Capability Name="ID_CAP_SENSORS"/&gt;
+&lt;/Capabilities&gt;
+</code></pre>
+
+<p>Reference: <a class="external" href="http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx">Application Manifest for Windows Phone</a></p>
+
<hr>
<h1><a name="compass.getCurrentHeading">compass.getCurrentHeading</a></h1>
@@ -187,6 +239,7 @@
<li>iPhone</li>
<li>Windows Phone 7 ( Mango ) if available in hardware</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="compass.getCurrentHeading_quick_example">Quick Example</a>
@@ -273,6 +326,7 @@
<li>iPhone</li>
<li>Windows Phone 7 ( Mango ) if available in hardware</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="compass.watchHeading_quick_example">Quick Example</a>
@@ -388,6 +442,7 @@
<li>iPhone</li>
<li>Windows Phone 7 ( Mango ) if available in hardware</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="compass.clearWatch_quick_example">Quick Example</a>
View
81 doc/cordova_connection_connection.md.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -72,6 +73,8 @@
<option value="Connection_wp7_quirk">      - WP7 Quirk</option>
<option value="Connection_ios_quirk">      - iOS Quirk</option>
<option value="Connection_bada_quirk">      - Bada Quirk</option>
+<option value="Connection_webos_quirks">      - webOS Quirks</option>
+<option value="Connection_permissions">      - Permissions</option>
<option value="connection.type">connection.type</option>
<option value="connection.type_description">      - Description</option>
<option value="connection.type_supported_platforms">      - Supported Platforms</option>
@@ -100,6 +103,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -167,6 +172,75 @@
<ul>
<li>Bada can only report if device is on Wifi or connected to cellular connection CELL_2G ( type not reported )</li>
</ul>
+<h2>
+<a name="Connection_webos_quirks">webOS Quirks</a>
+</h2>
+
+<ul>
+<li>will only show that a connection is available, but not which type</li>
+</ul>
+<h2>
+<a name="Connection_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager"/&gt;
+</code></pre>
+
+<h4>app/AndroidManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
+&lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
+&lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
+</code></pre>
+
+<h3>Bada</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>BlackBerry WebWorks</h3>
+
+<h4>www/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="Network Status" value="org.apache.cordova.network.Network"/&gt;
+</code></pre>
+
+<h4>www/config.xml</h4>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>iOS</h3>
+
+<h4>App/Supporting Files/Cordova.plist</h4>
+
+<pre class="prettyprint"><code>&lt;key&gt;Plugins&lt;/key&gt;
+&lt;dict&gt;
+ &lt;key&gt;NetworkStatus&lt;/key&gt;
+ &lt;string&gt;CDVConnection&lt;/string&gt;
+&lt;/dict&gt;
+</code></pre>
+
+<h3>webOS</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>Windows Phone</h3>
+
+<h4>Properties/WPAppManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;Capabilities&gt;
+ &lt;Capability Name="ID_CAP_NETWORKING"/&gt;
+&lt;/Capabilities&gt;
+</code></pre>
+
+<p>Reference: <a class="external" href="http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx">Application Manifest for Windows Phone</a></p>
+
<hr>
<h1><a name="connection.type">connection.type</a></h1>
@@ -188,6 +262,7 @@
<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
<li>Windows Phone 7 ( Mango )</li>
<li>Bada 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="connection.type_quick_example">Quick Example</a>
View
164 doc/cordova_contacts_contacts.md.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -70,6 +71,7 @@
<option value="Contacts_methods">      - Methods</option>
<option value="Contacts_arguments">      - Arguments</option>
<option value="Contacts_objects">      - Objects</option>
+<option value="Contacts_permissions">      - Permissions</option>
<option value="contacts.create">contacts.create</option>
<option value="contacts.create_description">      - Description</option>
<option value="contacts.create_supported_platforms">      - Supported Platforms</option>
@@ -94,6 +96,7 @@
<option value="Contact_android_1_x_quirks">      - Android 1.X Quirks</option>
<option value="Contact_blackberry_webworks_os_5_0_and_higher_quirks">      - BlackBerry WebWorks (OS 5.0 and higher) Quirks</option>
<option value="Contact_ios_quirks">      - iOS Quirks</option>
+<option value="Contact_bada_quirks">      - Bada Quirks</option>
<option value="ContactAddress">ContactAddress</option>
<option value="ContactAddress_properties">      - Properties</option>
<option value="ContactAddress_details">      - Details</option>
@@ -104,6 +107,7 @@
<option value="ContactAddress_android_1_x_quirks">      - Android 1.X Quirks</option>
<option value="ContactAddress_blackberry_webworks_os_5_0_and_higher_quirks">      - BlackBerry WebWorks (OS 5.0 and higher) Quirks</option>
<option value="ContactAddress_ios_quirks">      - iOS Quirks</option>
+<option value="ContactAddress_bada_quirks">      - Bada Quirks</option>
<option value="ContactField">ContactField</option>
<option value="ContactField_properties">      - Properties</option>
<option value="ContactField_details">      - Details</option>
@@ -113,11 +117,13 @@
<option value="ContactField_android_quirks">      - Android Quirks</option>
<option value="ContactField_blackberry_webworks_os_5_0_and_higher_quirks">      - BlackBerry WebWorks (OS 5.0 and higher) Quirks</option>
<option value="ContactField_ios_quirks">      - iOS Quirks</option>
+<option value="ContactField_bada_quirks">      - Bada Quirks</option>
<option value="ContactFindOptions">ContactFindOptions</option>
<option value="ContactFindOptions_properties">      - Properties</option>
<option value="ContactFindOptions_supported_platforms">      - Supported Platforms</option>
<option value="ContactFindOptions_quick_example">      - Quick Example</option>
<option value="ContactFindOptions_full_example">      - Full Example</option>
+<option value="ContactFindOptions_bada_quirks">      - Bada Quirks</option>
<option value="ContactName">ContactName</option>
<option value="ContactName_properties">      - Properties</option>
<option value="ContactName_details">      - Details</option>
@@ -127,6 +133,7 @@
<option value="ContactName_android_quirks">      - Android Quirks</option>
<option value="ContactName_blackberry_webworks_os_5_0_and_higher_quirks">      - BlackBerry WebWorks (OS 5.0 and higher) Quirks</option>
<option value="ContactName_ios_quirks">      - iOS Quirks</option>
+<option value="ContactName_bada_quirks">      - Bada Quirks</option>
<option value="ContactOrganization">ContactOrganization</option>
<option value="ContactOrganization_properties">      - Properties</option>
<option value="ContactOrganization_details">      - Details</option>
@@ -137,6 +144,7 @@
<option value="ContactOrganization_android_1_x_quirks">      - Android 1.X Quirks</option>
<option value="ContactOrganization_blackberry_webworks_os_5_0_and_higher_quirks">      - BlackBerry WebWorks (OS 5.0 and higher) Quirks</option>
<option value="ContactOrganization_ios_quirks">      - iOS Quirks</option>
+<option value="ContactOrganization_bada_2_0_quirks">      - Bada 2.0 Quirks</option>
<option value="ContactError">ContactError</option>
<option value="ContactError_properties">      - Properties</option>
<option value="ContactError_constants">      - Constants</option>
@@ -171,6 +179,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -180,7 +190,7 @@
<h1><a name="Contacts">Contacts</a></h1>
<blockquote>
- <p>The <code>contacts</code> object provides access to the device contacts database. </p>
+ <p>The <code>contacts</code> object provides access to the device contacts database.</p>
</blockquote>
<h2>
@@ -214,6 +224,71 @@
<li><a href="cordova_contacts_contacts.md.html#ContactFindOptions">ContactFindOptions</a></li>
<li><a href="cordova_contacts_contacts.md.html#ContactError">ContactError</a></li>
</ul>
+<h2>
+<a name="Contacts_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a>" value="org.apache.cordova.ContactManager"/&gt;
+</code></pre>
+
+<h4>app/AndroidManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
+&lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt;
+&lt;uses-permission android:name="android.permission.WRITE_CONTACTS" /&gt;
+</code></pre>
+
+<h3>Bada</h3>
+
+<h4>manifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;Privilege&gt;
+ &lt;Name&gt;ADDRESSBOOK&lt;/Name&gt;
+&lt;/Privilege&gt;
+</code></pre>
+
+<h3>BlackBerry WebWorks</h3>
+
+<h4>www/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_contacts_contacts.md.html#Contact">Contact</a>" value="org.apache.cordova.pim.<a href="cordova_contacts_contacts.md.html#Contact">Contact</a>"/&gt;
+</code></pre>
+
+<h4>www/config.xml</h4>
+
+<p><feature id="blackberry.find" required="true" version="1.0.0.0"></feature><feature id="blackberry.identity" required="true" version="1.0.0.0"></feature><feature id="blackberry.pim.Address" required="true" version="1.0.0.0"></feature><feature id="blackberry.pim.&lt;a href=" cordova_contacts_contacts>Contact" required="true" version="1.0.0.0" /&gt;</feature></p>
+
+<h3>iOS</h3>
+
+<h4>App/Supporting Files/Cordova.plist</h4>
+
+<pre class="prettyprint"><code>&lt;key&gt;Plugins&lt;/key&gt;
+&lt;dict&gt;
+ &lt;key&gt;<a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a>&lt;/key&gt;
+ &lt;string&gt;CDVContacts&lt;/string&gt;
+&lt;/dict&gt;
+</code></pre>
+
+<h3>webOS</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>Windows Phone</h3>
+
+<h4>Properties/WPAppManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;Capabilities&gt;
+ &lt;Capability Name="ID_CAP_CONTACTS"/&gt;
+&lt;/Capabilities&gt;
+</code></pre>
+
+<p>Reference: <a class="external" href="http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx">Application Manifest for Windows Phone</a></p>
+
<hr>
<h1><a name="contacts.create">contacts.create</a></h1>
@@ -238,7 +313,7 @@
<li>Android</li>
<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
<li>iOS</li>
-<li>Bada 1.2</li>
+<li>Bada 1.2 &amp; 2.0</li>
</ul>
<h2>
<a name="contacts.create_quick_example">Quick Example</a>
@@ -321,7 +396,7 @@
<li>Android</li>
<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
<li>iOS</li>
-<li>Bada 1.2</li>
+<li>Bada 1.2 &amp; 2.0</li>
</ul>
<h2>
<a name="contacts.find_quick_example">Quick Example</a>
@@ -420,7 +495,7 @@
<strong>emails:</strong> An array of all the contact's email addresses. <em>(<a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>[])</em>
</li>
<li>
-<strong>addresses:</strong> An array of all the contact's addresses. <em>(ContactAddresses[])</em>
+<strong>addresses:</strong> An array of all the contact's addresses. <em>(<a href="cordova_contacts_contacts.md.html#ContactAddress">ContactAddress</a>[])</em>
</li>
<li>
<strong>ims:</strong> An array of all the contact's IM addresses. <em>(<a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>[])</em>
@@ -472,7 +547,7 @@
<li>Android</li>
<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
<li>iOS</li>
-<li>Bada 1.2</li>
+<li>Bada 1.2 &amp; 2.0</li>
</ul>
<h2>
<a name="Contact_save_quick_example">Save Quick Example</a>
@@ -670,6 +745,22 @@
<li>
<strong>categories:</strong> This property is not currently supported and will always be returned as <code>null</code>.</li>
</ul>
+<h2>
+<a name="Contact_bada_quirks">Bada Quirks</a>
+</h2>
+
+<ul>
+<li>
+<strong>displayName:</strong> This property is not supported</li>
+<li>
+<strong>birthday:</strong> This property is not supported</li>
+<li>
+<strong>photos:</strong> This property should be a list with one URL to a photo</li>
+<li>
+<strong>categories:</strong> This property is not supported</li>
+<li>
+<strong>ims:</strong> This property is not supported</li>
+</ul>
<hr>
<h1><a name="ContactAddress">ContactAddress</a></h1>
@@ -718,7 +809,7 @@
<li>Android</li>
<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
<li>iOS</li>
-<li>Bada 1.2</li>
+<li>Bada 1.2 &amp; 2.0</li>
</ul>
<h2>
<a name="ContactAddress_quick_example">Quick Example</a>
@@ -870,6 +961,16 @@
<li>
<strong>formatted:</strong> Not currently supported.</li>
</ul>
+<h2>
+<a name="ContactAddress_bada_quirks">Bada Quirks</a>
+</h2>
+
+<ul>
+<li>
+<strong>formatted:</strong> This property is not supported</li>
+<li>
+<strong>type:</strong> Has to be one of the following: WORK, HOME</li>
+</ul>
<hr>
<h1><a name="ContactField">ContactField</a></h1>
@@ -906,7 +1007,7 @@
<li>Android</li>
<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
<li>iOS</li>
-<li>Bada 1.2</li>
+<li>Bada 1.2 &amp; 2.0</li>
</ul>
<h2>
<a name="ContactField_quick_example">Quick Example</a>
@@ -916,7 +1017,7 @@
var contact = navigator.<a href="cordova_contacts_contacts.md.html#contacts.create">contacts.create</a>();
// store contact phone numbers in <a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>[]
-var phoneNumbers = [3];
+var phoneNumbers = [];
phoneNumbers[0] = new <a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>('work', '212-555-1234', false);
phoneNumbers[1] = new <a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>('mobile', '917-555-5432', true); // preferred number
phoneNumbers[2] = new <a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>('home', '203-555-7890', false);
@@ -949,7 +1050,7 @@
var contact = navigator.<a href="cordova_contacts_contacts.md.html#contacts.create">contacts.create</a>();
// store contact phone numbers in <a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>[]
- var phoneNumbers = [3];
+ var phoneNumbers = [];
phoneNumbers[0] = new <a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>('work', '212-555-1234', false);
phoneNumbers[1] = new <a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>('mobile', '917-555-5432', true); // preferred number
phoneNumbers[2] = new <a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a>('home', '203-555-7890', false);
@@ -1021,6 +1122,14 @@
<li>
<strong>pref:</strong> This property is not supported on iOS devices and will always return <code>false</code>.</li>
</ul>
+<h2>
+<a name="ContactField_bada_quirks">Bada Quirks</a>
+</h2>
+
+<ul>
+<li>
+<strong>type:</strong> Property has to be one of the following for Email or Address fields: "WORK", "HOME". Property has to be one of the following for Phone fields: "WORK", "HOME", "VOICE", "FAX", "MSG", "CELL", "PAGER","BBS", "MODEM", "CAR", "ISDN","VIDEO", "PCS"</li>
+</ul>
<hr>
<h1><a name="ContactFindOptions">ContactFindOptions</a></h1>
@@ -1044,7 +1153,7 @@
<li>Android</li>
<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
<li>iOS</li>
-<li>Bada 1.2</li>
+<li>Bada 1.2 &amp; 2.0</li>
</ul>
<h2>
<a name="ContactFindOptions_quick_example">Quick Example</a>
@@ -1124,6 +1233,12 @@
&lt;/html&gt;
</code></pre>
+<h2>
+<a name="ContactFindOptions_bada_quirks">Bada Quirks</a>
+</h2>
+
+<p><strong>filter:</strong> Property can only apply to the following: "firstName", "lastName", "nickname", "phoneNumber", "email", "address"</p>
+
<hr>
<h1><a name="ContactName">ContactName</a></h1>
@@ -1167,7 +1282,7 @@
<li>Android 2.X</li>
<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
<li>iOS</li>
-<li>Bada 1.2</li>
+<li>Bada 1.2 &amp; 2.0</li>
</ul>
<h2>
<a name="ContactName_quick_example">Quick Example</a>
@@ -1281,6 +1396,19 @@
<li>
<strong>formatted:</strong> Partially supported. Will return iOS Composite Name but will not store.</li>
</ul>
+<h2>
+<a name="ContactName_bada_quirks">Bada Quirks</a>
+</h2>
+
+<ul>
+<li>
+<strong>formatted:</strong> Property not supported</li>
+<li>
+<strong>middleName:</strong> Property not supported
+_ <strong>honorificPrefix:</strong> Property not supported</li>
+<li>
+<strong>honorificSuffix:</strong> Property not supported</li>
+</ul>
<hr>
<h1><a name="ContactOrganization">ContactOrganization</a></h1>
@@ -1454,6 +1582,14 @@
<li>
<strong>title</strong>: Partially supported. The first title will be stored in the iOS <strong>kABPersonJobTitleProperty</strong> field.</li>
</ul>
+<h2>
+<a name="ContactOrganization_bada_2_0_quirks">Bada 2.0 Quirks</a>
+</h2>
+
+<ul>
+<li>
+<a href="cordova_contacts_contacts.md.html#ContactOrganization">ContactOrganization</a> not supported</li>
+</ul>
<hr>
<h1><a name="ContactError">ContactError</a></h1>
View
75 doc/cordova_device_device.md.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -69,6 +70,7 @@
<small><select><option value="Device">Device</option>
<option value="Device_properties">      - Properties</option>
<option value="Device_variable_scope">      - Variable Scope</option>
+<option value="Device_permissions">      - Permissions</option>
<option value="device.name">device.name</option>
<option value="device.name_description">      - Description</option>
<option value="device.name_supported_platforms">      - Supported Platforms</option>
@@ -124,6 +126,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -159,6 +163,65 @@
var phoneName = <a href="cordova_device_device.md.html#device.name">device.name</a>;
</code></pre>
+<h2>
+<a name="Device_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_device_device.md.html#Device">Device</a>" value="org.apache.cordova.<a href="cordova_device_device.md.html#Device">Device</a>"/&gt;
+</code></pre>
+
+<h4>app/AndroidManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
+</code></pre>
+
+<h3>Bada</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>BlackBerry WebWorks</h3>
+
+<h4>www/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_device_device.md.html#Device">Device</a>" value="org.apache.cordova.device.<a href="cordova_device_device.md.html#Device">Device</a>"/&gt;
+</code></pre>
+
+<h4>www/config.xml</h4>
+
+<pre class="prettyprint"><code>&lt;feature id="blackberry.app" required="true" version="1.0.0.0" /&gt;
+&lt;rim:permissions&gt;
+ &lt;rim:permit&gt;read_device_identifying_information&lt;/rim:permit&gt;
+&lt;/rim:permissions&gt;
+</code></pre>
+
+<h3>iOS</h3>
+
+<pre class="prettyprint"><code><a href="cordova_device_device.md.html#Device">Device</a> is not implemented as a plugin.
+</code></pre>
+
+<h3>webOS</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>Windows Phone</h3>
+
+<h4>Properties/WPAppManifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;Capabilities&gt;
+ &lt;Capability Name="ID_CAP_WEBBROWSERCOMPONENT" /&gt;
+ &lt;Capability Name="ID_CAP_IDENTITY_DEVICE" /&gt;
+ &lt;Capability Name="ID_CAP_IDENTITY_USER" /&gt;
+&lt;/Capabilities&gt;
+</code></pre>
+
+<p>Reference: <a class="external" href="http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx">Application Manifest for Windows Phone</a></p>
+
<hr>
<h1><a name="device.name">device.name</a></h1>
@@ -183,6 +246,7 @@
<li>iPhone</li>
<li>Windows Phone 7 ( Mango )</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="device.name_quick_example">Quick Example</a>
@@ -356,6 +420,7 @@
<li>iPhone</li>
<li>Windows Phone 7 ( Mango )</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="device.platform_quick_example">Quick Example</a>
@@ -448,6 +513,7 @@
<li>iPhone</li>
<li>Windows Phone 7 ( Mango )</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="device.uuid_quick_example">Quick Example</a>
@@ -466,6 +532,7 @@
// Windows Phone 7 : Returns a hash of device+current user,
// if the user is not defined, a guid is generated and will persist until the app is uninstalled
//
+// webOS: returns the device NDUID
var deviceID = <a href="cordova_device_device.md.html#device.uuid">device.uuid</a>;
</code></pre>
@@ -535,6 +602,7 @@
<li>iPhone</li>
<li>Windows Phone 7 ( Mango )</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
</ul>
<h2>
<a name="device.version_quick_example">Quick Example</a>
@@ -549,6 +617,7 @@
// iPhone: iOS 3.2 returns "3.2"
//
// Windows Phone 7: returns current OS version number, ex. on Mango returns 7.10.7720
+// webOS: webOS 2.2.4 return 2.2.4
var deviceVersion = <a href="cordova_device_device.md.html#device.version">device.version</a>;
</code></pre>
View
63 doc/cordova_events_events.md.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -68,6 +69,7 @@
<h1>Events</h1>
<small><select><option value="Events">Events</option>
<option value="Events_event_types">      - Event Types</option>
+<option value="Events_permissions">      - Permissions</option>
<option value="deviceready">deviceready</option>
<option value="deviceready_details">      - Details</option>
<option value="deviceready_supported_platforms">      - Supported Platforms</option>
@@ -173,6 +175,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -206,6 +210,59 @@
<li><a href="cordova_events_events.md.html#volumedownbutton">volumedownbutton</a></li>
<li><a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a></li>
</ul>
+<h2>
+<a name="Events_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/plugins.xml</h4>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h4>app/AndroidManifest.xml</h4>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>Bada</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>BlackBerry WebWorks</h3>
+
+<h4>www/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="Battery" value="org.apache.cordova.battery.Battery"/&gt;
+</code></pre>
+
+<h4>www/config.xml</h4>
+
+<p><feature id="blackberry.app" required="true" version="1.0.0.0"></feature><feature id="blackberry.app.event" required="true" version="1.0.0.0"></feature><feature id="blackberry.system.event" required="true" version="1.0.0.0"></feature></p>
+
+<h3>iOS</h3>
+
+<h4>App/Supporting Files/Cordova.plist</h4>
+
+<pre class="prettyprint"><code>&lt;key&gt;Plugins&lt;/key&gt;
+&lt;dict&gt;
+ &lt;key&gt;Battery&lt;/key&gt;
+ &lt;string&gt;CDVBattery&lt;/string&gt;
+&lt;/dict&gt;
+</code></pre>
+
+<h3>webOS</h3>
+
+<pre class="prettyprint"><code>@TODO
+</code></pre>
+
+<h3>Windows Phone</h3>
+
+<pre class="prettyprint"><code>No additional permissions required.
+</code></pre>
+
<hr>
<h1><a name="deviceready">deviceready</a></h1>
View
211 doc/cordova_file_file.md.html
@@ -21,19 +21,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<meta name="generator" content="joDoc">
-<title>Cordova API Documentation</title>
+<title>Apache Cordova API Documentation</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
</head>
<body>
<div id="header">
- <h1><a href="index.html"><strong>Cordova</strong> Documentation</a></h1>
+ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<small>
<select><optgroup label="English" value="en">
<option value="edge">edge</option>
+<option selected value="1.8.0rc1">1.8.0rc1</option>
<option value="1.7.0rc1">1.7.0rc1</option>
-<option selected value="1.7.0">1.7.0</option>
+<option value="1.7.0">1.7.0</option>
<option value="1.6.1">1.6.1</option>
<option value="1.6.0rc1">1.6.0rc1</option>
<option value="1.6.0">1.6.0</option>
@@ -68,6 +69,7 @@
<h1>File</h1>
<small><select><option value="File">File</option>
<option value="File_objects">      - Objects</option>
+<option value="File_permissions">      - Permissions</option>
<option value="File">File</option>
<option value="File_properties">      - Properties</option>
<option value="File_details">      - Details</option>
@@ -107,9 +109,10 @@
<option value="FileEntry_methods">      - Methods</option>
<option value="FileEntry_supported_platforms">      - Supported Platforms</option>
<option value="FileEntry_getmetadata">      - getMetadata</option>
+<option value="FileEntry_setmetadata">      - setMetadata</option>
<option value="FileEntry_moveto">      - moveTo</option>
<option value="FileEntry_copyto">      - copyTo</option>
-<option value="FileEntry_touri">      - toURI</option>
+<option value="FileEntry_tourl">      - toURL</option>
<option value="FileEntry_remove">      - remove</option>
<option value="FileEntry_getparent">      - getParent</option>
<option value="FileEntry_createwriter">      - createWriter</option>
@@ -119,9 +122,10 @@
<option value="DirectoryEntry_methods">      - Methods</option>
<option value="DirectoryEntry_supported_platforms">      - Supported Platforms</option>
<option value="DirectoryEntry_getmetadata">      - getMetadata</option>
+<option value="DirectoryEntry_setmetadata">      - setMetadata</option>
<option value="DirectoryEntry_moveto">      - moveTo</option>
<option value="DirectoryEntry_copyto">      - copyTo</option>
-<option value="DirectoryEntry_touri">      - toURI</option>
+<option value="DirectoryEntry_tourl">      - toURL</option>
<option value="DirectoryEntry_remove">      - remove</option>
<option value="DirectoryEntry_getparent">      - getParent</option>
<option value="DirectoryEntry_createreader">      - createReader</option>
@@ -196,6 +200,8 @@
<h1>Guides</h1>
<ul>
<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_upgrading_index.md.html#Upgrading%20Guides">Upgrading Guides</a></li>
+<li><a href="guide_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
</div>
@@ -205,7 +211,7 @@
<h1><a name="File">File</a></h1>
<blockquote>
- <p>This API is based on the W3C <a class="external" href="http://www.w3.org/TR/FileAPI"></a><a href="cordova_file_file.md.html#File">File</a> API. An API to read, write and navigate file system hierarchies. </p>
+ <p>This API is based on the W3C <a class="external" href="http://www.w3.org/TR/FileAPI"></a><a href="cordova_file_file.md.html#File">File</a> API. An API to read, write and navigate file system hierarchies.</p>
</blockquote>
<h2>
@@ -229,6 +235,66 @@
<li><a href="cordova_file_file.md.html#LocalFileSystem">LocalFileSystem</a></li>
<li><a href="cordova_file_file.md.html#Metadata">Metadata</a></li>
</ul>
+<h2>
+<a name="File_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/plugins.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_file_file.md.html#File">File</a>" value="org.apache.cordova.FileUtils"/&gt;
+&lt;plugin name="<a href="cordova_file_file.md.html#FileTransfer">FileTransfer</a>" value="org.apache.cordova.<a href="cordova_file_file.md.html#FileTransfer">FileTransfer</a>"/&gt;
+</code></pre>
+
+<h4>app/AndroidManifest.xml</h4>
+