You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2012/07/13 00:09:52 UTC
[1/64] docs commit: Add generated HTML documentation.
Updated Branches:
refs/heads/cb-1033-cordova-theme [created] 62a5f4d24
Add generated HTML documentation.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/62a5f4d2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/62a5f4d2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/62a5f4d2
Branch: refs/heads/cb-1033-cordova-theme
Commit: 62a5f4d2498f45efb3feaec9be105b31ceda3c6f
Parents: 061df3e
Author: Michael Brooks <mi...@michaelbrooks.ca>
Authored: Thu Jul 12 15:06:48 2012 -0700
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Thu Jul 12 15:06:48 2012 -0700
----------------------------------------------------------------------
www/_index.html | 311 ++
www/_index.json | 1 +
www/arrow.png | Bin 0 -> 6285 bytes
www/cordova.html | 188 ++
www/cordova_accelerometer_accelerometer.md.html | 684 +++++
www/cordova_camera_camera.cleanup.md.html | 115 +
www/cordova_camera_camera.md.html | 628 ++++
www/cordova_compass_compass.md.html | 663 +++++
www/cordova_connection_connection.md.html | 311 ++
www/cordova_contacts_contacts.md.html | 1671 +++++++++++
www/cordova_device_device.md.html | 638 ++++
www/cordova_events_events.md.html | 1494 ++++++++++
www/cordova_file_file.md.html | 2271 +++++++++++++++
www/cordova_geolocation_geolocation.md.html | 958 ++++++
www/cordova_media_capture_capture.md.html | 1134 +++++++
www/cordova_media_media.md.html | 1701 +++++++++++
www/cordova_notification_notification.md.html | 647 ++++
www/cordova_storage_storage.md.html | 944 ++++++
www/guide_command-line_index.md.html | 279 ++
www/guide_cordova-webview_android.md.html | 136 +
www/guide_cordova-webview_index.md.html | 87 +
www/guide_cordova-webview_ios.md.html | 297 ++
www/guide_getting-started_android_index.md.html | 246 ++
www/guide_getting-started_bada_index.md.html | 181 ++
www/guide_getting-started_blackberry_index.md.html | 223 ++
www/guide_getting-started_index.md.html | 88 +
www/guide_getting-started_ios_index.md.html | 255 ++
www/guide_getting-started_symbian_index.md.html | 154 +
www/guide_getting-started_webos_index.md.html | 156 +
...ide_getting-started_windows-phone_index.md.html | 184 ++
www/guide_upgrading_android_index.md.html | 252 ++
www/guide_upgrading_bada_index.md.html | 103 +
www/guide_upgrading_blackberry_index.md.html | 143 +
www/guide_upgrading_index.md.html | 92 +
www/guide_upgrading_ios_index.md.html | 295 ++
www/guide_upgrading_symbian_index.md.html | 79 +
www/guide_upgrading_webos_index.md.html | 99 +
www/guide_upgrading_windows-phone_index.md.html | 271 ++
www/guide_whitelist_index.md.html | 255 ++
www/images/cordova_bot.png | Bin 0 -> 35964 bytes
www/images/grid.png | Bin 0 -> 1169 bytes
.../guide/getting-started/android/AndroidFlow.png | Bin 0 -> 198941 bytes
.../guide/getting-started/android/buildPath.jpg | Bin 0 -> 80516 bytes
.../guide/getting-started/android/javaSrc.jpg | Bin 0 -> 141340 bytes
.../guide/getting-started/android/manifest.jpg | Bin 0 -> 268212 bytes
.../guide/getting-started/android/manifest.png | Bin 0 -> 210586 bytes
.../android/new_android_project.jpeg | Bin 0 -> 62485 bytes
.../guide/getting-started/android/step_1.png | Bin 0 -> 59002 bytes
.../guide/getting-started/android/step_2.png | Bin 0 -> 64727 bytes
.../guide/getting-started/android/step_3.png | Bin 0 -> 71747 bytes
.../guide/getting-started/android/step_4.png | Bin 0 -> 48027 bytes
.../guide/getting-started/android/step_5.png | Bin 0 -> 52899 bytes
.../guide/getting-started/bada/bada_1_run.png | Bin 0 -> 84838 bytes
.../guide/getting-started/bada/bada_2_run.png | Bin 0 -> 115395 bytes
.../guide/getting-started/bada/bada_project.png | Bin 0 -> 56201 bytes
.../guide/getting-started/bada/bada_set_target.png | Bin 0 -> 89656 bytes
.../getting-started/bada/import_bada_project.png | Bin 0 -> 53647 bytes
.../getting-started/bada/import_bada_project_2.png | Bin 0 -> 73479 bytes
.../getting-started/ios/HelloWorldiPhone4.png | Bin 0 -> 120055 bytes
.../guide/getting-started/ios/XCode4-templates.png | Bin 0 -> 169771 bytes
.../ios/create-folder-reference.png | Bin 0 -> 190649 bytes
.../guide/getting-started/ios/index-not-found.png | Bin 0 -> 95265 bytes
www/images/guide/getting-started/ios/project.jpg | Bin 0 -> 43884 bytes
.../guide/getting-started/ios/www-folder.png | Bin 0 -> 17844 bytes
.../getting-started/ios/xcode4-name_your_app.png | Bin 0 -> 181444 bytes
.../windows-phone/wp7projectstructure.PNG | Bin 0 -> 22436 bytes
.../guide/getting-started/windows-phone/wpd.png | Bin 0 -> 1964 bytes
.../getting-started/windows-phone/wpfirstrun.PNG | Bin 0 -> 114030 bytes
.../getting-started/windows-phone/wpnewproj.PNG | Bin 0 -> 87470 bytes
.../guide/getting-started/windows-phone/wprun.png | Bin 0 -> 63091 bytes
www/images/shadow.png | Bin 0 -> 942 bytes
www/images/sprite.png | Bin 0 -> 13702 bytes
www/index.css | 404 +++
www/index.html | 144 +
www/index.js | 74 +
www/js/smooth.pack.js | 198 ++
www/line.png | Bin 0 -> 2795 bytes
www/master.css | 97 +
www/mobile.css | 139 +
www/prettify/LICENSE | 191 ++
www/prettify/lang-apollo.js | 2 +
www/prettify/lang-css.js | 2 +
www/prettify/lang-hs.js | 2 +
www/prettify/lang-lisp.js | 2 +
www/prettify/lang-lua.js | 2 +
www/prettify/lang-ml.js | 2 +
www/prettify/lang-proto.js | 1 +
www/prettify/lang-scala.js | 2 +
www/prettify/lang-sql.js | 2 +
www/prettify/lang-vb.js | 2 +
www/prettify/lang-vhdl.js | 3 +
www/prettify/lang-wiki.js | 2 +
www/prettify/lang-yaml.js | 2 +
www/prettify/prettify.css | 44 +
www/prettify/prettify.js | 33 +
95 files changed, 19584 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/62a5f4d2/www/_index.html
----------------------------------------------------------------------
diff --git a/www/_index.html b/www/_index.html
new file mode 100644
index 0000000..48b6c99
--- /dev/null
+++ b/www/_index.html
@@ -0,0 +1,311 @@
+<!DOCTYPE html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--><html lang="en">
+<head>
+<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>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">Apache <strong>Cordova</strong> Documentation</a></h1>
+ <small>
+ <select><optgroup label="English" value="en"><option selected value="edge">edge</option></optgroup></select></small>
+ </div>
+ <div id="subheader">
+ <h1>Keyword Index</h1>
+ <small></small>
+ </div>
+
+ <div id="sidebar">
+ <div class="vertical_divider"></div>
+ <h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+<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_command-line_index.md.html#Command-Line%20Usage">Command-Line Usage</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="guide_cordova-webview_index.md.html#Embedding%20WebView">Embedding WebView</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+</div>
+
+ <div id="scrollable">
+ <div id="content">
+
+
+<h1>Keyword Index</h1>
+<div id="index">
+
+<h2>A</h2>
+
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.clearWatch">accelerometer.clearWatch</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometerError">accelerometerError</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometerOptions">accelerometerOptions</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometerSuccess">accelerometerSuccess</a></li>
+<li><a href="index.html#API%20Reference">API Reference</a></li>
+</ul>
+<h2>B</h2>
+
+<ul>
+<li><a href="cordova_events_events.md.html#backbutton">backbutton</a></li>
+<li><a href="cordova_events_events.md.html#batterycritical">batterycritical</a></li>
+<li><a href="cordova_events_events.md.html#batterylow">batterylow</a></li>
+<li><a href="cordova_events_events.md.html#batterystatus">batterystatus</a></li>
+</ul>
+<h2>C</h2>
+
+<ul>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_camera_camera.cleanup.md.html#camera.cleanup">camera.cleanup</a></li>
+<li><a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a></li>
+<li><a href="cordova_camera_camera.md.html#cameraError">cameraError</a></li>
+<li><a href="cordova_camera_camera.md.html#cameraOptions">cameraOptions</a></li>
+<li><a href="cordova_camera_camera.md.html#CameraPopoverOptions">CameraPopoverOptions</a></li>
+<li><a href="cordova_camera_camera.md.html#cameraSuccess">cameraSuccess</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_media_capture_capture.md.html#capture.captureAudio">capture.captureAudio</a></li>
+<li><a href="cordova_media_capture_capture.md.html#capture.captureImage">capture.captureImage</a></li>
+<li><a href="cordova_media_capture_capture.md.html#capture.captureVideo">capture.captureVideo</a></li>
+<li><a href="cordova_media_capture_capture.md.html#CaptureAudioOptions">CaptureAudioOptions</a></li>
+<li><a href="cordova_media_capture_capture.md.html#CaptureCB">CaptureCB</a></li>
+<li><a href="cordova_media_capture_capture.md.html#CaptureError">CaptureError</a></li>
+<li><a href="cordova_media_capture_capture.md.html#CaptureErrorCB">CaptureErrorCB</a></li>
+<li><a href="cordova_media_capture_capture.md.html#CaptureImageOptions">CaptureImageOptions</a></li>
+<li><a href="cordova_media_capture_capture.md.html#CaptureVideoOptions">CaptureVideoOptions</a></li>
+<li><a href="guide_command-line_index.md.html#Command-Line%20Usage">Command-Line Usage</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_compass_compass.md.html#compass.clearWatch">compass.clearWatch</a></li>
+<li><a href="cordova_compass_compass.md.html#compass.clearWatchFilter">compass.clearWatchFilter</a></li>
+<li><a href="cordova_compass_compass.md.html#compass.getCurrentHeading">compass.getCurrentHeading</a></li>
+<li><a href="cordova_compass_compass.md.html#compass.watchHeading">compass.watchHeading</a></li>
+<li><a href="cordova_compass_compass.md.html#compass.watchHeadingFilter">compass.watchHeadingFilter</a></li>
+<li><a href="cordova_compass_compass.md.html#CompassError">CompassError</a></li>
+<li><a href="cordova_compass_compass.md.html#compassError">compassError</a></li>
+<li><a href="cordova_compass_compass.md.html#compassHeading">compassHeading</a></li>
+<li><a href="cordova_compass_compass.md.html#compassOptions">compassOptions</a></li>
+<li><a href="cordova_compass_compass.md.html#compassSuccess">compassSuccess</a></li>
+<li><a href="cordova_media_capture_capture.md.html#ConfigurationData">ConfigurationData</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_connection_connection.md.html#connection.type">connection.type</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contact">Contact</a></li>
+<li><a href="cordova_contacts_contacts.md.html#ContactAddress">ContactAddress</a></li>
+<li><a href="cordova_contacts_contacts.md.html#contactError">contactError</a></li>
+<li><a href="cordova_contacts_contacts.md.html#ContactError">ContactError</a></li>
+<li><a href="cordova_contacts_contacts.md.html#ContactField">ContactField</a></li>
+<li><a href="cordova_contacts_contacts.md.html#contactFields">contactFields</a></li>
+<li><a href="cordova_contacts_contacts.md.html#contactFindOptions">contactFindOptions</a></li>
+<li><a href="cordova_contacts_contacts.md.html#ContactFindOptions">ContactFindOptions</a></li>
+<li><a href="cordova_contacts_contacts.md.html#ContactName">ContactName</a></li>
+<li><a href="cordova_contacts_contacts.md.html#ContactOrganization">ContactOrganization</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_contacts_contacts.md.html#contacts.create">contacts.create</a></li>
+<li><a href="cordova_contacts_contacts.md.html#contacts.find">contacts.find</a></li>
+<li><a href="cordova_contacts_contacts.md.html#contactSuccess">contactSuccess</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Coordinates">Coordinates</a></li>
+</ul>
+<h2>D</h2>
+
+<ul>
+<li><a href="cordova_storage_storage.md.html#Database">Database</a></li>
+<li><a href="cordova_storage_storage.md.html#database_displayname">database_displayname</a></li>
+<li><a href="cordova_storage_storage.md.html#database_name">database_name</a></li>
+<li><a href="cordova_storage_storage.md.html#database_size">database_size</a></li>
+<li><a href="cordova_storage_storage.md.html#database_version">database_version</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_device_device.md.html#device.cordova">device.cordova</a></li>
+<li><a href="cordova_device_device.md.html#device.name">device.name</a></li>
+<li><a href="cordova_device_device.md.html#device.platform">device.platform</a></li>
+<li><a href="cordova_device_device.md.html#device.uuid">device.uuid</a></li>
+<li><a href="cordova_device_device.md.html#device.version">device.version</a></li>
+<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>
+
+<ul>
+<li><a href="guide_cordova-webview_android.md.html#Embedding%20Cordova%20WebView%20on%20Android">Embedding Cordova WebView on Android</a></li>
+<li><a href="guide_cordova-webview_ios.md.html#Embedding%20Cordova%20WebView%20on%20iOS">Embedding Cordova WebView on iOS</a></li>
+<li><a href="guide_cordova-webview_index.md.html#Embedding%20WebView">Embedding WebView</a></li>
+<li><a href="cordova_events_events.md.html#endcallbutton">endcallbutton</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+</ul>
+<h2>F</h2>
+
+<ul>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_file_file.md.html#FileEntry">FileEntry</a></li>
+<li><a href="cordova_file_file.md.html#FileError">FileError</a></li>
+<li><a href="cordova_file_file.md.html#FileReader">FileReader</a></li>
+<li><a href="cordova_file_file.md.html#FileSystem">FileSystem</a></li>
+<li><a href="cordova_file_file.md.html#FileTransfer">FileTransfer</a></li>
+<li><a href="cordova_file_file.md.html#FileTransferError">FileTransferError</a></li>
+<li><a href="cordova_file_file.md.html#FileUploadOptions">FileUploadOptions</a></li>
+<li><a href="cordova_file_file.md.html#FileUploadResult">FileUploadResult</a></li>
+<li><a href="cordova_file_file.md.html#FileWriter">FileWriter</a></li>
+<li><a href="cordova_file_file.md.html#Flags">Flags</a></li>
+</ul>
+<h2>G</h2>
+
+<ul>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#geolocation.clearWatch">geolocation.clearWatch</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#geolocation.getCurrentPosition">geolocation.getCurrentPosition</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#geolocation.watchPosition">geolocation.watchPosition</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#geolocationError">geolocationError</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#geolocationOptions">geolocationOptions</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#geolocationSuccess">geolocationSuccess</a></li>
+<li><a href="guide_getting-started_index.md.html#Getting%20Started%20Guides">Getting Started Guides</a></li>
+<li><a href="guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android">Getting Started with Android</a></li>
+<li><a href="guide_getting-started_bada_index.md.html#Getting%20Started%20with%20Bada">Getting Started with Bada</a></li>
+<li><a href="guide_getting-started_blackberry_index.md.html#Getting%20Started%20with%20Blackberry">Getting Started with Blackberry</a></li>
+<li><a href="guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS">Getting Started with iOS</a></li>
+<li><a href="guide_getting-started_symbian_index.md.html#Getting%20Started%20with%20Symbian">Getting Started with Symbian</a></li>
+<li><a href="guide_getting-started_webos_index.md.html#Getting%20Started%20with%20WebOS">Getting Started with WebOS</a></li>
+<li><a href="guide_getting-started_windows-phone_index.md.html#Getting%20Started%20with%20Windows%20Phone">Getting Started with Windows Phone</a></li>
+<li><a href="index.html#Guides">Guides</a></li>
+</ul>
+<h2>L</h2>
+
+<ul>
+<li><a href="cordova_file_file.md.html#LocalFileSystem">LocalFileSystem</a></li>
+<li><a href="cordova_storage_storage.md.html#localStorage">localStorage</a></li>
+</ul>
+<h2>M</h2>
+
+<ul>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_media_media.md.html#media.getCurrentPosition">media.getCurrentPosition</a></li>
+<li><a href="cordova_media_media.md.html#media.getDuration">media.getDuration</a></li>
+<li><a href="cordova_media_media.md.html#media.pause">media.pause</a></li>
+<li><a href="cordova_media_media.md.html#media.play">media.play</a></li>
+<li><a href="cordova_media_media.md.html#media.release">media.release</a></li>
+<li><a href="cordova_media_media.md.html#media.seekTo">media.seekTo</a></li>
+<li><a href="cordova_media_media.md.html#media.startRecord">media.startRecord</a></li>
+<li><a href="cordova_media_media.md.html#media.stop">media.stop</a></li>
+<li><a href="cordova_media_media.md.html#media.stopRecord">media.stopRecord</a></li>
+<li><a href="cordova_media_media.md.html#mediaError">mediaError</a></li>
+<li><a href="cordova_media_media.md.html#MediaError">MediaError</a></li>
+<li><a href="cordova_media_capture_capture.md.html#MediaFile">MediaFile</a></li>
+<li><a href="cordova_media_capture_capture.md.html#MediaFile.getFormatData">MediaFile.getFormatData</a></li>
+<li><a href="cordova_media_capture_capture.md.html#MediaFileData">MediaFileData</a></li>
+<li><a href="cordova_events_events.md.html#menubutton">menubutton</a></li>
+<li><a href="cordova_file_file.md.html#Metadata">Metadata</a></li>
+</ul>
+<h2>N</h2>
+
+<ul>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_notification_notification.md.html#notification.alert">notification.alert</a></li>
+<li><a href="cordova_notification_notification.md.html#notification.beep">notification.beep</a></li>
+<li><a href="cordova_notification_notification.md.html#notification.confirm">notification.confirm</a></li>
+<li><a href="cordova_notification_notification.md.html#notification.vibrate">notification.vibrate</a></li>
+</ul>
+<h2>O</h2>
+
+<ul>
+<li><a href="cordova_events_events.md.html#offline">offline</a></li>
+<li><a href="cordova_events_events.md.html#online">online</a></li>
+<li><a href="cordova_storage_storage.md.html#openDatabase">openDatabase</a></li>
+</ul>
+<h2>P</h2>
+
+<ul>
+<li><a href="cordova_events_events.md.html#pause">pause</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Position">Position</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#PositionError">PositionError</a></li>
+</ul>
+<h2>R</h2>
+
+<ul>
+<li><a href="cordova_events_events.md.html#resume">resume</a></li>
+</ul>
+<h2>S</h2>
+
+<ul>
+<li><a href="cordova_events_events.md.html#searchbutton">searchbutton</a></li>
+<li><a href="cordova_storage_storage.md.html#SQLError">SQLError</a></li>
+<li><a href="cordova_storage_storage.md.html#SQLResultSet">SQLResultSet</a></li>
+<li><a href="cordova_storage_storage.md.html#SQLResultSetList">SQLResultSetList</a></li>
+<li><a href="cordova_storage_storage.md.html#SQLTransaction">SQLTransaction</a></li>
+<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#Upgrade%20to%201.0.0%20from%200.9.6">Upgrade to 1.0.0 from 0.9.6</a></li>
+<li><a href="guide_upgrading_android_index.md.html#Upgrade%20to%201.1.0%20from%201.0.0">Upgrade to 1.1.0 from 1.0.0</a></li>
+<li><a href="guide_upgrading_android_index.md.html#Upgrade%20to%201.2.0%20from%201.1.0">Upgrade to 1.2.0 from 1.1.0</a></li>
+<li><a href="guide_upgrading_android_index.md.html#Upgrade%20to%201.3.0%20from%201.2.0">Upgrade to 1.3.0 from 1.2.0</a></li>
+<li><a href="guide_upgrading_android_index.md.html#Upgrade%20to%201.4.0%20from%201.3.0">Upgrade to 1.4.0 from 1.3.0</a></li>
+<li><a href="guide_upgrading_android_index.md.html#Upgrade%20to%201.5.0%20from%201.4.0">Upgrade to 1.5.0 from 1.4.0</a></li>
+<li><a href="guide_upgrading_android_index.md.html#Upgrade%20to%201.6.0%20from%201.5.0">Upgrade to 1.6.0 from 1.5.0</a></li>
+<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>
+<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>
+</div>
+
+
+ </div>
+ </div>
+
+ <!-- Functionality and Syntax Highlighting -->
+ <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/62a5f4d2/www/_index.json
----------------------------------------------------------------------
diff --git a/www/_index.json b/www/_index.json
new file mode 100644
index 0000000..6c0b323
--- /dev/null
+++ b/www/_index.json
@@ -0,0 +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.cleanup","url":"cordova_camera_camera.cleanup.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":"CameraPopoverOptions","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_c
apture_capture.md.html"},{"term":"CaptureImageOptions","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureVideoOptions","url":"cordova_media_capture_capture.md.html"},{"term":"Command-Line Usage","url":"guide_command-line_index.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":"Embedding Cordova WebView on Android","url":"guide_cordova-webview_android.md.html"},{"term":"Embedding Cordova WebView on iOS","url":"guide_cordova-webview_ios.md.html"},{"term":"Embedding WebView","url":"guide_cordova-webview_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","ur
l":"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_b
ada_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
":"Upgrade to 1.0.0 from 0.9.6","url":"guide_upgrading_android_index.md.html"},{"term":"Upgrade to 1.1.0 from 1.0.0","url":"guide_upgrading_android_index.md.html"},{"term":"Upgrade to 1.2.0 from 1.1.0","url":"guide_upgrading_android_index.md.html"},{"term":"Upgrade to 1.3.0 from 1.2.0","url":"guide_upgrading_android_index.md.html"},{"term":"Upgrade to 1.4.0 from 1.3.0","url":"guide_upgrading_android_index.md.html"},{"term":"Upgrade to 1.5.0 from 1.4.0","url":"guide_upgrading_android_index.md.html"},{"term":"Upgrade to 1.6.0 from 1.5.0","url":"guide_upgrading_android_index.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"}]
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/62a5f4d2/www/arrow.png
----------------------------------------------------------------------
diff --git a/www/arrow.png b/www/arrow.png
new file mode 100644
index 0000000..0968c62
Binary files /dev/null and b/www/arrow.png differ
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/62a5f4d2/www/cordova.html
----------------------------------------------------------------------
diff --git a/www/cordova.html b/www/cordova.html
new file mode 100644
index 0000000..4e42def
--- /dev/null
+++ b/www/cordova.html
@@ -0,0 +1,188 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name = "format-detection" content = "telephone=no">
+<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
+<title>Apache Cordova</title>
+<link rel="stylesheet" type="text/css" href="master.css">
+<script src="js/smooth.pack.js" type="text/javascript"></script>
+<script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-94271-30']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+</script>
+</head>
+<body>
+<a class="scroll-point pt-top" name="top"></div>
+<div id="header">
+ <div class="wrap">
+ <a class="logo" href="#top"></a>
+ <div class="menu">
+ <a href="#about">About</a>
+ <a href="#contribute">Contribute</a>
+ <a href="#mailing-list">Mailing List</a>
+ <a href="#download">Download</a>
+ </div>
+ <form class="menu-dropdown">
+ <select onchange="location = this.options[this.selectedIndex].value;">
+ <option value="#about">About</option>
+ <option value="#contribute">Contribute</option>
+ <option value="#mailing-list">Mailing List</option>
+ <option value="#download">Download</option>
+ </select>
+ </form>
+ </div>
+ <div class="shadow"></div>
+</div>
+<div class="header-placeholder"></div>
+
+<div class="grid leadin">
+ <div class="wrap">
+ <img src="images/cordova_bot.png" alt=""/>
+ <ul class="text-block">
+ <li><h1><strong>Apache Cordova</strong> is a platform</h1></li>
+ <li><h1>for building native mobile</h1></li>
+ <li><h1>applications using <strong>HTML</strong>, <strong>CSS</strong></h1></li>
+ <li><h1>and <strong>JavaScript</strong></h1></li>
+ </ul>
+ </div>
+</div>
+
+<a class="scroll-point pt-about" name="about"></a>
+<div class="wrap">
+ <h2 class="icon icon-about">About Apache Cordova™</h2>
+ <p>Apache Cordova is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator project. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+</div>
+<a class="scroll-point" name="contribute"></a>
+<hr/>
+
+<div class="wrap">
+ <h2 class="icon icon-contribute">Want to Contribute?</h2>
+ <p>First, make sure you have signed the <a href="http://www.apache.org/licenses/#clas">Apache CLA</a>.</p>
+ <p>The <a href="https://issues.apache.org/jira/browse/">JIRA issue tracker</a> and the <a href="#mailing-list">dev mailing list</a> are good places to identify areas to help out in.</p>
+ <p>Next, clone the git repository for the project you are wishing to contribute to (see below). We recommend employing a certain type of git workflow, please see our <a href="http://wiki.apache.org/cordova/ContributerWorkflow">wiki article</a> for more information.</p>
+ <p>Finally, to share your changes with the community, you can send a pull request on GitHub to the Apache git mirrors. You can also advocate for your changes directly on our <a href="#mailing-list">mailing list</a>.</p>
+ <p>For detailed instruction on how to contribute for a specific platform / topic, choose from below:</p>
+</div>
+
+<div class="grid">
+ <div class="wrap">
+ <div class="corner"></div>
+ <ul class="list platforms-list">
+ <li class="first">Android<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-android"></a></li><li >Bada<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-bada.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-bada"></a></li><li >Blackberry<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-blackberry-webworks.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-blackberry-webworks"></a></li><li >iOS<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-ios"></a></li><li >Mac OS X<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordo
va-mac.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-mac"></a></li><li >WebOS<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-webos.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-webos"></a></li><li >Windows Phone<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-wp7.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-wp7"></a></li>
+ </ul>
+ <ul class="list platforms-list second">
+ <li class="first">Docs<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-docs.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-docs"></a></li><li >Cordova-JS (JavaScript API)<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-js"></a></li><li >Mobile Spec (Test Suite)<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-mobile-spec.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-mobile-spec"></a></li><li >Weinre<a class="link-apache" href="https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-weinre.git;a=summary"></a><a class="link-github" href="https://github.com/apache/incubator-cordova-weinre"></a></li>
+ </ul>
+ </div>
+</div>
+
+<a class="scroll-point" name="mailing-list"></a>
+<hr/>
+
+<div class="wrap">
+ <h2 class="icon icon-mailing-list">Mailing List</h2>
+</div>
+
+<div class="grid">
+ <div class="wrap">
+ <div class="corner"></div>
+ <br/>
+ <div class="list-header">
+ <strong>Dev Mailing List</strong>
+ <p>Dev mailing list is a place for discussion about Apache Cordova projects.</p>
+ </div>
+ <ul class="list mailing-list">
+ <li>Writing to the list<a href="mailto:callback-dev@incubator.apache.org">callback-dev@incubator.apache.org<span></span></a></li>
+ <li>Subscription address<a href="mailto:callback-dev-subscribe@incubator.apache.org">callback-dev-subscribe@incubator.apache.org<span></span></a></li>
+ <li>Digest subscription address<a href="mailto:callback-dev-digest-subscribe@incubator.apache.org">callback-dev-digest-subscribe@incubator.apache.org<span></span></a></li>
+ <li>Unsubscription addresses<a href="mailto:callback-dev-unsubscribe@incubator.apache.org">callback-dev-unsubscribe@incubator.apache.org<span></span></a></li>
+ <li>Getting help with the list<a href="mailto:callback-dev-help@incubator.apache.org">callback-dev-help@incubator.apache.org<span></span></a></li>
+ <li>Browse online <a href="http://callback.markmail.org/search/?q=#query:%20list%3Aorg.apache.incubator.callback-dev+page:1+state:facets"> <span></span></a></li>
+ </ul>
+ <br/>
+ <div class="list-header">
+ <strong>Commits Mailing List</strong>
+ <p>Commits mailing list tracks commit logs for Apache Cordova repos.</p>
+ </div>
+ <ul class="list mailing-list">
+ <li>Writing to the list<a href="mailto:callback-commits@incubator.apache.org">callback-commits@incubator.apache.org<span></span></a></li>
+ <li>Subscription address<a href="mailto:callback-commits-subscribe@incubator.apache.org">callback-commits-subscribe@incubator.apache.org<span></span></a></li>
+ <li>Digest subscription address<a href="mailto:callback-commits-digest-subscribe@incubator.apache.org">callback-commits-digest-subscribe@incubator.apache.org<span></span></a></li>
+ <li>Unsubscription addresses<a href="mailto:callback-commits-unsubscribe@incubator.apache.org">callback-commits-unsubscribe@incubator.apache.org<span></span></a></li>
+ <li>Getting help with the list<a href="mailto:callback-commits-help@incubator.apache.org">callback-commits-help@incubator.apache.org<span></span></a></li>
+ <li>Browse online <a href="http://callback.markmail.org/search/?q=#query:%20list%3Aorg.apache.incubator.callback-commits+page:1+state:facets"> <span></span></a></li>
+ </ul>
+ </div>
+</div>
+
+<a class="scroll-point" name="download"></a>
+<hr/>
+
+<div class="wrap download-pane">
+ <h2 class="icon icon-download">Download & Archives</h2>
+ <p>By downloading, you agree to the <a href="#">terms of service</a>.</p>
+ <div class="button-container">
+ <div class="button">Coming Soon<label></label></div>
+ </div>
+</div>
+
+<div class="grid">
+ <div class="wrap">
+ <div class="corner"></div>
+ <br/>
+ <br/>
+ </div>
+</div>
+
+<hr/>
+
+<div class="wrap quick-links-pane">
+ <h2 class="icon icon-quick-links">Quick Links</h2>
+ <br/>
+ <ul class="quick-links-header">
+ <li>General</li>
+ <li>Development</li>
+ <li class="last">Apache Software Foundation</li>
+ </ul>
+ <div class="clear"></div>
+</div>
+
+<div class="grid">
+ <div class="wrap">
+ <div class="list-container">
+ <ul class="list quick-links">
+ <li class="corner"></li>
+ <li><a href="index.html#about">About Cordova<span></span></a></li><li><a href="http://incubator.apache.org/projects/callback.html">Incubator Page<span></span></a></li><li><a href="http://www.apache.org/licenses/LICENSE-2.0">License<span></span></a></li><li><a href="artwork.html">Artwork<span></span></a></li>
+ </ul>
+
+ <ul class="list quick-links">
+ <li class="corner"></li>
+ <li><a href="index.html#download">Download<span></span></a></li><li><a href="https://git-wip-us.apache.org/repos/asf">Source Code<span></span></a></li><li><a href="http://www.apache.org/licenses/LICENSE-2.0">License<span></span></a></li><li><a href="index.html#mailing-list">Mailing List<span></span></a></li><li><a href="https://issues.apache.org/jira/browse/CB">Issue Tracker<span></span></a></li><li><a href="http://wiki.apache.org/cordova/">Wiki<span></span></a></li>
+ </ul>
+
+ <ul class="list quick-links last">
+ <li class="corner"></li>
+ <li><a href="http://www.apache.org/">About ASF<span></span></a></li><li><a href="http://www.apache.org/foundation/thanks.html">Thanks<span></span></a></li><li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor<span></span></a></li><li><a href="http://www.apache.org/security/">Security<span></span></a></li>
+ </ul>
+
+ <div class="clear"></div>
+ </div>
+ </div>
+</div>
+
+<div id="footer">
+ <p>Copyright © 2012 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
+ Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+ <a class="closing" href="#top"></a>
+</div>
+
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/62a5f4d2/www/cordova_accelerometer_accelerometer.md.html
----------------------------------------------------------------------
diff --git a/www/cordova_accelerometer_accelerometer.md.html b/www/cordova_accelerometer_accelerometer.md.html
new file mode 100644
index 0000000..a670f77
--- /dev/null
+++ b/www/cordova_accelerometer_accelerometer.md.html
@@ -0,0 +1,684 @@
+<!DOCTYPE html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--><html lang="en">
+<head>
+<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>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">Apache <strong>Cordova</strong> Documentation</a></h1>
+ <small>
+ <select><optgroup label="English" value="en"><option selected value="edge">edge</option></optgroup></select></small>
+ </div>
+ <div id="subheader">
+ <h1>Accelerometer</h1>
+ <small><select><option value="Accelerometer">Accelerometer</option>
+<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>
+<option value="accelerometer.getCurrentAcceleration_quick_example"> - Quick Example</option>
+<option value="accelerometer.getCurrentAcceleration_full_example"> - Full Example</option>
+<option value="accelerometer.getCurrentAcceleration_iphone_quirks"> - iPhone Quirks</option>
+<option value="accelerometer.watchAcceleration">accelerometer.watchAcceleration</option>
+<option value="accelerometer.watchAcceleration_description"> - Description</option>
+<option value="accelerometer.watchAcceleration_supported_platforms"> - Supported Platforms</option>
+<option value="accelerometer.watchAcceleration_quick_example"> - Quick Example</option>
+<option value="accelerometer.watchAcceleration_full_example"> - Full Example</option>
+<option value="accelerometer.watchAcceleration_iphone_quirks"> - iPhone Quirks</option>
+<option value="accelerometer.clearWatch">accelerometer.clearWatch</option>
+<option value="accelerometer.clearWatch_supported_platforms"> - Supported Platforms</option>
+<option value="accelerometer.clearWatch_quick_example"> - Quick Example</option>
+<option value="accelerometer.clearWatch_full_example"> - Full Example</option>
+<option value="Acceleration">Acceleration</option>
+<option value="Acceleration_properties"> - Properties</option>
+<option value="Acceleration_description"> - Description</option>
+<option value="Acceleration_supported_platforms"> - Supported Platforms</option>
+<option value="Acceleration_quick_example"> - Quick Example</option>
+<option value="Acceleration_full_example"> - Full Example</option>
+<option value="accelerometerSuccess">accelerometerSuccess</option>
+<option value="accelerometerSuccess_parameters"> - Parameters</option>
+<option value="accelerometerSuccess_example"> - Example</option>
+<option value="accelerometerError">accelerometerError</option>
+<option value="accelerometerOptions">accelerometerOptions</option>
+<option value="accelerometerOptions_options"> - Options</option></select></small>
+ </div>
+
+ <div id="sidebar">
+ <div class="vertical_divider"></div>
+ <h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+<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_command-line_index.md.html#Command-Line%20Usage">Command-Line Usage</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="guide_cordova-webview_index.md.html#Embedding%20WebView">Embedding WebView</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+</div>
+
+ <div id="scrollable">
+ <div id="content">
+ <h1><a name="Accelerometer">Accelerometer</a></h1>
+
+<blockquote>
+ <p>Captures device motion in the x, y, and z direction.</p>
+</blockquote>
+
+<h2>
+<a name="Accelerometer_methods">Methods</a>
+</h2>
+
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.clearWatch">accelerometer.clearWatch</a></li>
+</ul>
+<h2>
+<a name="Accelerometer_arguments">Arguments</a>
+</h2>
+
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometerSuccess">accelerometerSuccess</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometerError">accelerometerError</a></li>
+<li><a href="cordova_accelerometer_accelerometer.md.html#accelerometerOptions">accelerometerOptions</a></li>
+</ul>
+<h2>
+<a name="Accelerometer_objects_read_only">Objects (Read-Only)</a>
+</h2>
+
+<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><plugin name="<a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a>" value="org.apache.cordova.AccelListener" />
+</code></pre>
+
+<h3>Bada</h3>
+
+<pre class="prettyprint"><code>No permissions are required.
+</code></pre>
+
+<h3>BlackBerry WebWorks</h3>
+
+<h4>www/plugins.xml</h4>
+
+<pre class="prettyprint"><code><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>" />
+</code></pre>
+
+<h4>www/config.xml</h4>
+
+<pre class="prettyprint"><code><feature id="blackberry.system" required="true" version="1.0.0.0" />
+<feature id="org.apache.cordova" required="true" version="1.0.0" />
+</code></pre>
+
+<h3>iOS</h3>
+
+<h4>App/Supporting Files/Cordova.plist</h4>
+
+<pre class="prettyprint"><code><key>Plugins</key>
+<dict>
+ <key><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></key>
+ <string>CDVAccelerometer</string>
+</dict>
+</code></pre>
+
+<h3>webOS</h3>
+
+<pre class="prettyprint"><code>No permissions are required.
+</code></pre>
+
+<h3>Windows Phone</h3>
+
+<h4>Properties/WPAppManifest.xml</h4>
+
+<pre class="prettyprint"><code><Capabilities>
+ <Capability Name="ID_CAP_SENSORS" />
+</Capabilities>
+</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>
+
+<p>Get the current acceleration along the x, y, and z axis.</p>
+
+<pre class="prettyprint"><code>navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</a>(<a href="cordova_accelerometer_accelerometer.md.html#accelerometerSuccess">accelerometerSuccess</a>, <a href="cordova_accelerometer_accelerometer.md.html#accelerometerError">accelerometerError</a>);
+</code></pre>
+
+<h2>
+<a name="accelerometer.getCurrentAcceleration_description">Description</a>
+</h2>
+
+<p>The accelerometer is a motion sensor that detects the change (delta) in movement relative to the current device orientation. The accelerometer can detect 3D movement along the x, y, and z axis.</p>
+
+<p>The acceleration is returned using the <code><a href="cordova_accelerometer_accelerometer.md.html#accelerometerSuccess">accelerometerSuccess</a></code> callback function.</p>
+
+<h2>
+<a name="accelerometer.getCurrentAcceleration_supported_platforms">Supported Platforms</a>
+</h2>
+
+<ul>
+<li>Android</li>
+<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
+<li>iPhone</li>
+<li>Windows Phone 7 (Mango)</li>
+<li>Bada 1.2 & 2.x</li>
+</ul>
+<h2>
+<a name="accelerometer.getCurrentAcceleration_quick_example">Quick Example</a>
+</h2>
+
+<pre class="prettyprint"><code>function onSuccess(acceleration) {
+ alert('<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> X: ' + acceleration.x + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '\n' +
+ 'Timestamp: ' + acceleration.timestamp + '\n');
+};
+
+function onError() {
+ alert('onError!');
+};
+
+navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</a>(onSuccess, onError);
+</code></pre>
+
+<h2>
+<a name="accelerometer.getCurrentAcceleration_full_example">Full Example</a>
+</h2>
+
+<pre class="prettyprint"><code><!DOCTYPE html>
+<html>
+ <head>
+ <title><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Example</title>
+
+ <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
+ <script type="text/javascript" charset="utf-8">
+
+ // Wait for Cordova to load
+ //
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+
+ // Cordova is ready
+ //
+ function onDeviceReady() {
+ navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</a>(onSuccess, onError);
+ }
+
+ // onSuccess: Get a snapshot of the current acceleration
+ //
+ function onSuccess(acceleration) {
+ alert('<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> X: ' + acceleration.x + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '\n' +
+ 'Timestamp: ' + acceleration.timestamp + '\n');
+ }
+
+ // onError: Failed to get the acceleration
+ //
+ function onError() {
+ alert('onError!');
+ }
+
+ </script>
+ </head>
+ <body>
+ <h1>Example</h1>
+ <p>getCurrentAcceleration</p>
+ </body>
+</html>
+</code></pre>
+
+<h2>
+<a name="accelerometer.getCurrentAcceleration_iphone_quirks">iPhone Quirks</a>
+</h2>
+
+<ul>
+<li>iPhone doesn't have the concept of getting the current acceleration at any given point.</li>
+<li>You must watch the acceleration and capture the data at given time intervals.</li>
+<li>Thus, the <code>getCurrentAcceleration</code> function will give you the last value reported from a Cordova <code>watchAccelerometer</code> call.</li>
+</ul>
+<hr>
+<h1><a name="accelerometer.watchAcceleration">accelerometer.watchAcceleration</a></h1>
+
+<p>At a regular interval, get the acceleration along the x, y, and z axis.</p>
+
+<pre class="prettyprint"><code>var watchID = navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a>(<a href="cordova_accelerometer_accelerometer.md.html#accelerometerSuccess">accelerometerSuccess</a>,
+ <a href="cordova_accelerometer_accelerometer.md.html#accelerometerError">accelerometerError</a>,
+ [<a href="cordova_accelerometer_accelerometer.md.html#accelerometerOptions">accelerometerOptions</a>]);
+</code></pre>
+
+<h2>
+<a name="accelerometer.watchAcceleration_description">Description</a>
+</h2>
+
+<p>The accelerometer is a motion sensor that detects the change (delta) in movement relative to the current position. The accelerometer can detect 3D movement along the x, y, and z axis.</p>
+
+<p>The <code><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a></code> gets the device's current acceleration at a regular interval. Each time the <code><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a></code> is retrieved, the <code><a href="cordova_accelerometer_accelerometer.md.html#accelerometerSuccess">accelerometerSuccess</a></code> callback function is executed. Specify the interval in milliseconds via the <code>frequency</code> parameter in the <code>acceleratorOptions</code> object.</p>
+
+<p>The returned watch ID references references the accelerometer watch interval. The watch ID can be used with <code><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.clearWatch">accelerometer.clearWatch</a></code> to stop watching the accelerometer.</p>
+
+<h2>
+<a name="accelerometer.watchAcceleration_supported_platforms">Supported Platforms</a>
+</h2>
+
+<ul>
+<li>Android</li>
+<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
+<li>iPhone</li>
+<li>Windows Phone 7 (Mango)</li>
+<li>Bada 1.2 & 2.x</li>
+</ul>
+<h2>
+<a name="accelerometer.watchAcceleration_quick_example">Quick Example</a>
+</h2>
+
+<pre class="prettyprint"><code>function onSuccess(acceleration) {
+ alert('<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> X: ' + acceleration.x + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '\n' +
+ 'Timestamp: ' + acceleration.timestamp + '\n');
+};
+
+function onError() {
+ alert('onError!');
+};
+
+var options = { frequency: 3000 }; // Update every 3 seconds
+
+var watchID = navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a>(onSuccess, onError, options);
+</code></pre>
+
+<h2>
+<a name="accelerometer.watchAcceleration_full_example">Full Example</a>
+</h2>
+
+<pre class="prettyprint"><code><!DOCTYPE html>
+<html>
+ <head>
+ <title><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Example</title>
+
+ <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
+ <script type="text/javascript" charset="utf-8">
+
+ // The watch id references the current `watchAcceleration`
+ var watchID = null;
+
+ // Wait for Cordova to load
+ //
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+
+ // Cordova is ready
+ //
+ function onDeviceReady() {
+ startWatch();
+ }
+
+ // Start watching the acceleration
+ //
+ function startWatch() {
+
+ // Update acceleration every 3 seconds
+ var options = { frequency: 3000 };
+
+ watchID = navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a>(onSuccess, onError, options);
+ }
+
+ // Stop watching the acceleration
+ //
+ function stopWatch() {
+ if (watchID) {
+ navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.clearWatch">accelerometer.clearWatch</a>(watchID);
+ watchID = null;
+ }
+ }
+
+ // onSuccess: Get a snapshot of the current acceleration
+ //
+ function onSuccess(acceleration) {
+ var element = document.getElementById('accelerometer');
+ element.innerHTML = '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> X: ' + acceleration.x + '<br />' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '<br />' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '<br />' +
+ 'Timestamp: ' + acceleration.timestamp + '<br />';
+ }
+
+ // onError: Failed to get the acceleration
+ //
+ function onError() {
+ alert('onError!');
+ }
+
+ </script>
+ </head>
+ <body>
+ <div id="accelerometer">Waiting for accelerometer...</div>
+ </body>
+</html>
+</code></pre>
+
+<h2>
+<a name="accelerometer.watchAcceleration_iphone_quirks"> iPhone Quirks</a>
+</h2>
+
+<ul>
+<li>At the interval requested, Cordova will call the success callback function and pass the accelerometer results.</li>
+<li>However, in requests to the device Cordova restricts the interval to minimum of every 40ms and a maximum of every 1000ms.
+<ul>
+<li>For example, if you request an interval of 3 seconds (3000ms), Cordova will request an interval of 1 second from the device but invoke the success callback at the requested interval of 3 seconds.</li>
+</ul>
+</li>
+</ul>
+<hr>
+<h1><a name="accelerometer.clearWatch">accelerometer.clearWatch</a></h1>
+
+<p>Stop watching the <code><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a></code> referenced by the watch ID parameter.</p>
+
+<pre class="prettyprint"><code>navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.clearWatch">accelerometer.clearWatch</a>(watchID);
+</code></pre>
+
+<ul>
+<li>
+<strong>watchID</strong>: The ID returned by <code><a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a></code>.</li>
+</ul>
+<h2>
+<a name="accelerometer.clearWatch_supported_platforms">Supported Platforms</a>
+</h2>
+
+<ul>
+<li>Android</li>
+<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
+<li>iPhone</li>
+<li>Windows Phone 7 (Mango)</li>
+<li>Bada 1.2 & 2.x</li>
+</ul>
+<h2>
+<a name="accelerometer.clearWatch_quick_example">Quick Example</a>
+</h2>
+
+<pre class="prettyprint"><code>var watchID = navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a>(onSuccess, onError, options);
+
+// ... later on ...
+
+navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.clearWatch">accelerometer.clearWatch</a>(watchID);
+</code></pre>
+
+<h2>
+<a name="accelerometer.clearWatch_full_example">Full Example</a>
+</h2>
+
+<pre class="prettyprint"><code><!DOCTYPE html>
+<html>
+ <head>
+ <title><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Example</title>
+
+ <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
+ <script type="text/javascript" charset="utf-8">
+
+ // The watch id references the current `watchAcceleration`
+ var watchID = null;
+
+ // Wait for Cordova to load
+ //
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+
+ // Cordova is ready
+ //
+ function onDeviceReady() {
+ startWatch();
+ }
+
+ // Start watching the acceleration
+ //
+ function startWatch() {
+
+ // Update acceleration every 3 seconds
+ var options = { frequency: 3000 };
+
+ watchID = navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.watchAcceleration">accelerometer.watchAcceleration</a>(onSuccess, onError, options);
+ }
+
+ // Stop watching the acceleration
+ //
+ function stopWatch() {
+ if (watchID) {
+ navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.clearWatch">accelerometer.clearWatch</a>(watchID);
+ watchID = null;
+ }
+ }
+
+ // onSuccess: Get a snapshot of the current acceleration
+ //
+ function onSuccess(acceleration) {
+ var element = document.getElementById('accelerometer');
+ element.innerHTML = '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> X: ' + acceleration.x + '<br />' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '<br />' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '<br />' +
+ 'Timestamp: ' + acceleration.timestamp + '<br />';
+ }
+
+ // onError: Failed to get the acceleration
+ //
+ function onError() {
+ alert('onError!');
+ }
+
+ </script>
+ </head>
+ <body>
+ <div id="accelerometer">Waiting for accelerometer...</div>
+ <button onclick="stopWatch();">Stop Watching</button>
+ </body>
+</html>
+</code></pre>
+
+<hr>
+<h1><a name="Acceleration">Acceleration</a></h1>
+
+<p>Contains <code><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></code> data captured at a specific point in time.</p>
+
+<h2>
+<a name="Acceleration_properties">Properties</a>
+</h2>
+
+<ul>
+<li>
+<strong>x:</strong> Amount of acceleration on the x-axis. (in m/s^2) (<code>Number</code>)</li>
+<li>
+<strong>y:</strong> Amount of acceleration on the y-axis. (in m/s^2) (<code>Number</code>)</li>
+<li>
+<strong>z:</strong> Amount of acceleration on the z-axis. (in m/s^2) (<code>Number</code>)</li>
+<li>
+<strong>timestamp:</strong> Creation timestamp in milliseconds. (<code>DOMTimeStamp</code>)</li>
+</ul>
+<h2>
+<a name="Acceleration_description">Description</a>
+</h2>
+
+<p>This object is created and populated by Cordova, and returned by an <code><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></code> method. The x, y, z acceleration values include the effect of gravity (9.81 m/s^2), so at when a device is lying flat on a table facing up, the value returned should be x=0, y=0, z=9.81.</p>
+
+<h2>
+<a name="Acceleration_supported_platforms">Supported Platforms</a>
+</h2>
+
+<ul>
+<li>Android</li>
+<li>BlackBerry WebWorks (OS 5.0 and higher)</li>
+<li>iOS</li>
+<li>Windows Phone 7 (Mango)</li>
+<li>Bada 1.2 & 2.x</li>
+<li>webOS</li>
+</ul>
+<h2>
+<a name="Acceleration_quick_example">Quick Example</a>
+</h2>
+
+<pre class="prettyprint"><code>function onSuccess(acceleration) {
+ alert('<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> X: ' + acceleration.x + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '\n' +
+ 'Timestamp: ' + acceleration.timestamp + '\n');
+};
+
+function onError() {
+ alert('onError!');
+};
+
+navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</a>(onSuccess, onError);
+</code></pre>
+
+<h2>
+<a name="Acceleration_full_example">Full Example</a>
+</h2>
+
+<pre class="prettyprint"><code><!DOCTYPE html>
+<html>
+ <head>
+ <title><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Example</title>
+
+ <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
+ <script type="text/javascript" charset="utf-8">
+
+ // Wait for Cordova to load
+ //
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+
+ // Cordova is ready
+ //
+ function onDeviceReady() {
+ navigator.<a href="cordova_accelerometer_accelerometer.md.html#accelerometer.getCurrentAcceleration">accelerometer.getCurrentAcceleration</a>(onSuccess, onError);
+ }
+
+ // onSuccess: Get a snapshot of the current acceleration
+ //
+ function onSuccess(acceleration) {
+ alert('<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> X: ' + acceleration.x + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '\n' +
+ 'Timestamp: ' + acceleration.timestamp + '\n');
+ }
+
+ // onError: Failed to get the acceleration
+ //
+ function onError() {
+ alert('onError!');
+ }
+
+ </script>
+ </head>
+ <body>
+ <h1>Example</h1>
+ <p>getCurrentAcceleration</p>
+ </body>
+</html>
+</code></pre>
+
+<hr>
+<h1><a name="accelerometerSuccess">accelerometerSuccess</a></h1>
+
+<p>onSuccess callback function that provides the <a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> information.</p>
+
+<pre class="prettyprint"><code>function(acceleration) {
+ // Do something
+}
+</code></pre>
+
+<h2>
+<a name="accelerometerSuccess_parameters">Parameters</a>
+</h2>
+
+<ul>
+<li>
+<strong>acceleration:</strong> The acceleration at a single moment in time. (<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a>)</li>
+</ul>
+<h2>
+<a name="accelerometerSuccess_example">Example</a>
+</h2>
+
+<pre class="prettyprint"><code>function onSuccess(acceleration) {
+ alert('<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> X: ' + acceleration.x + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '\n' +
+ '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '\n' +
+ 'Timestamp: ' + acceleration.timestamp + '\n');
+};
+</code></pre>
+
+<hr>
+<h1><a name="accelerometerError">accelerometerError</a></h1>
+
+<p>onError callback function for acceleration functions.</p>
+
+<pre class="prettyprint"><code>function() {
+ // Handle the error
+}
+</code></pre>
+
+<hr>
+<h1><a name="accelerometerOptions">accelerometerOptions</a></h1>
+
+<p>An optional parameter to customize the retrieval of the accelerometer.</p>
+
+<h2>
+<a name="accelerometerOptions_options">Options</a>
+</h2>
+
+<ul>
+<li>
+<strong>frequency:</strong> How often to retrieve the <code><a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a></code> in milliseconds. <em>(Number)</em> (Default: 10000)</li>
+</ul>
+</div>
+ </div>
+
+ <!-- Functionality and Syntax Highlighting -->
+ <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/62a5f4d2/www/cordova_camera_camera.cleanup.md.html
----------------------------------------------------------------------
diff --git a/www/cordova_camera_camera.cleanup.md.html b/www/cordova_camera_camera.cleanup.md.html
new file mode 100644
index 0000000..d237d2c
--- /dev/null
+++ b/www/cordova_camera_camera.cleanup.md.html
@@ -0,0 +1,115 @@
+<!DOCTYPE html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--><html lang="en">
+<head>
+<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>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">Apache <strong>Cordova</strong> Documentation</a></h1>
+ <small>
+ <select><optgroup label="English" value="en"><option selected value="edge">edge</option></optgroup></select></small>
+ </div>
+ <div id="subheader">
+ <h1>camera.cleanup</h1>
+ <small><select><option value="camera.cleanup">camera.cleanup</option>
+<option value="camera.cleanup_description"> - Description</option>
+<option value="camera.cleanup_supported_platforms"> - Supported Platforms</option>
+<option value="camera.cleanup_example"> - Example</option></select></small>
+ </div>
+
+ <div id="sidebar">
+ <div class="vertical_divider"></div>
+ <h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+<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_command-line_index.md.html#Command-Line%20Usage">Command-Line Usage</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="guide_cordova-webview_index.md.html#Embedding%20WebView">Embedding WebView</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+</div>
+
+ <div id="scrollable">
+ <div id="content">
+ <h1><a name="camera.cleanup">camera.cleanup</a></h1>
+
+<p>Cleans up the image files that were taken by the camera, that were stored in a temporary storage location.</p>
+
+<pre class="prettyprint"><code>navigator.<a href="cordova_camera_camera.cleanup.md.html#camera.cleanup">camera.cleanup</a>( <a href="cordova_camera_camera.md.html#cameraSuccess">cameraSuccess</a>, <a href="cordova_camera_camera.md.html#cameraError">cameraError</a> );
+</code></pre>
+
+<h2>
+<a name="camera.cleanup_description">Description</a>
+</h2>
+
+<p>Cleans up the image files stored in the temporary storage location, when the function <code><a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a></code> is used with <code><a href="cordova_camera_camera.md.html#Camera">Camera</a>.sourceType = <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSourceType.CAMERA</code> and <code><a href="cordova_camera_camera.md.html#Camera">Camera</a>.destinationType = <a href="cordova_camera_camera.md.html#Camera">Camera</a>.DestinationType.FILE_URI</code></p>
+
+<h2>
+<a name="camera.cleanup_supported_platforms">Supported Platforms</a>
+</h2>
+
+<ul>
+<li>iOS</li>
+</ul>
+<h2>
+<a name="camera.cleanup_example">Example</a>
+</h2>
+
+<pre class="prettyprint"><code>navigator.<a href="cordova_camera_camera.cleanup.md.html#camera.cleanup">camera.cleanup</a>(onSuccess, onFail);
+
+function onSuccess() {
+ console.log("<a href="cordova_camera_camera.md.html#Camera">Camera</a> cleanup success.")
+}
+
+function onFail(message) {
+ alert('Failed because: ' + message);
+}
+</code></pre>
+
+ </div>
+ </div>
+
+ <!-- Functionality and Syntax Highlighting -->
+ <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>