cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject svn commit: r1449255 [12/34] - in /cordova/site/public/docs: en/1.5.0/ en/1.5.0rc1/ en/1.6.0/ en/1.6.0rc1/ en/1.6.1/ en/1.7.0/ en/1.7.0rc1/ en/1.8.0/ en/1.8.0rc1/ en/1.8.1/ en/1.9.0/ en/1.9.0rc1/ en/2.0.0/ en/2.0.0rc1/ en/2.1.0/ en/2.1.0rc1/ en/2.1.0rc...
Date Fri, 22 Feb 2013 23:43:56 GMT
Added: cordova/site/public/docs/en/2.5.0rc1/_index.json
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/2.5.0rc1/_index.json?rev=1449255&view=auto
==============================================================================
--- cordova/site/public/docs/en/2.5.0rc1/_index.json (added)
+++ cordova/site/public/docs/en/2.5.0rc1/_index.json Fri Feb 22 23:42:47 2013
@@ -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":"addEventListener","url":"cordova_inappbrowser_inappbrowser.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_capture_capture.md.html"},{"term":"CaptureImageOptions","url":"cordova_media_capture_capture.md.html"},{"term":"CaptureVideoOptions","url":"cordova_media_capture_capture.md.html"},{"term":"close","url":"cordova_inappbrowser_inappbrowser.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":"compassHe
 ading","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":"Developing a Plugin on Android","url":"guide_plugin-development_android_index.md.html"},{"term":"Developing a Plugin on Bada","url":"guide_plugin-development_bada_index.md.html"},{"term":"Developing a Plugin on BlackBerry","url":"
 guide_plugin-development_blackberry_index.md.html"},{"term":"Developing a Plugin on iOS","url":"guide_plugin-development_ios_index.md.html"},{"term":"Developing a Plugin on Tizen","url":"guide_plugin-development_tizen_index.md.html"},{"term":"Developing a Plugin on webOS","url":"guide_plugin-development_webos_index.md.html"},{"term":"Developing a Plugin on Windows Phone","url":"guide_plugin-development_windows-phone_index.md.html"},{"term":"Device","url":"cordova_device_device.md.html"},{"term":"device.cordova","url":"cordova_device_device.md.html"},{"term":"device.model","url":"cordova_device_device.model.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","url":"cordova_file_file.md.html"},{"term":"FileUploadRe
 sult","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 Tizen","url":"guide_getting-started_tizen_index.md.html"},{"term":"Getting Started with WebOS","url":"guide_getting-started_webos_index.md.html"},{"term":"Getting Started with Windows 8","url":"guide_getting-started_windows-8_index.md.html"},{"term":"Getting Started with Windows Phone 7","url":"guide_getting-started_windows-phone-7_index.md.html"},{"term":"Getting Started with Windows Phone 8","url":"guide_getting-started_windows-phone-8_index.md.html"},{"term":"Globalization","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.dateToString","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.getCurrencyPattern","url":"cordova_globalization_globalization
 .md.html"},{"term":"globalization.getDateNames","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.getDatePattern","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.getFirstDayOfWeek","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.getLocaleName","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.getNumberPattern","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.getPreferredLanguage","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.isDayLightSavingsTime","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.numberToString","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.stringToDate","url":"cordova_globalization_globalization.md.html"},{"term":"globalization.stringToNumber","url":"cordova_globalization_globalization.md.html"},{"term":"GlobalizationError","url":"cordova_g
 lobalization_globalization.md.html"},{"term":"Guides","url":"index.md.html"},{"term":"hide","url":"cordova_splashscreen_splashscreen.md.html"},{"term":"InAppBrowser","url":"cordova_inappbrowser_inappbrowser.md.html"},{"term":"InAppBrowserEvent","url":"cordova_inappbrowser_inappbrowser.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.st
 opRecord","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":"Plugin Development Guide","url":"guide_plugin-development_index.md.html"},{"term":"Position","url":"cordova_geolocation_geolocation.md.html"},{"term":"PositionError","url":"cordova_geolocation_geolocation.md.html"},{"term":"Project Settings","url":"guide_project-settings_index.md.html"},{"term":"Project Settings for Android","url":"guide_project-settings_android_index.md.html"},{"term":"Project Settings for Bada ","url":"guide_project-settings_bada_index.md.html"},{"term":"Project Settings for BlackBerry ","url":"guide_project-settings_blackberry_index.md.html"},{"term":"Project Settings for FirefoxOS ","url":"guide_project-settings_firefoxos_index.md.html"},{"term":"Project Settings for iOS","url":"guide_project-settings_ios_index.md.html"},{"term":"Project Settings for webOS ","url":"guide_project-settings_webos_index.md.html"},{"
 term":"Project Settings for Windows 8 ","url":"guide_project-settings_windows8_index.md.html"},{"term":"Project Settings for Windows Phone 7 ","url":"guide_project-settings_wp7_index.md.html"},{"term":"Project Settings for Windows Phone 8","url":"guide_project-settings_wp8_index.md.html"},{"term":"removeEventListener","url":"cordova_inappbrowser_inappbrowser.md.html"},{"term":"resume","url":"cordova_events_events.md.html"},{"term":"searchbutton","url":"cordova_events_events.md.html"},{"term":"show","url":"cordova_splashscreen_splashscreen.md.html"},{"term":"Splashscreen","url":"cordova_splashscreen_splashscreen.md.html"},{"term":"SQLError","url":"cordova_storage_storage.md.html"},{"term":"SQLResultSet","url":"cordova_storage_storage.md.html"},{"term":"SQLResultSetRowList","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_s
 torage_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 Tizen","url":"guide_upgrading_tizen_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"},{"term":"window.open","url":"cordova_inappbrowser_inappbrowser.md.html"}]
\ No newline at end of file

Added: cordova/site/public/docs/en/2.5.0rc1/arrow.png
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/2.5.0rc1/arrow.png?rev=1449255&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cordova/site/public/docs/en/2.5.0rc1/arrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cordova/site/public/docs/en/2.5.0rc1/cordova_accelerometer_accelerometer.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/2.5.0rc1/cordova_accelerometer_accelerometer.md.html?rev=1449255&view=auto
==============================================================================
--- cordova/site/public/docs/en/2.5.0rc1/cordova_accelerometer_accelerometer.md.html (added)
+++ cordova/site/public/docs/en/2.5.0rc1/cordova_accelerometer_accelerometer.md.html Fri Feb 22 23:42:47 2013
@@ -0,0 +1,735 @@
+<!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 value="edge">edge</option>
+<option selected value="2.5.0rc1">2.5.0rc1</option>
+<option value="2.4.0rc1">2.4.0rc1</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0rc2">2.3.0rc2</option>
+<option value="2.3.0rc1">2.3.0rc1</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0rc2">2.2.0rc2</option>
+<option value="2.2.0rc1">2.2.0rc1</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0rc2">2.1.0rc2</option>
+<option value="2.1.0rc1">2.1.0rc1</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0rc1">2.0.0rc1</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0rc1">1.9.0rc1</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0rc1">1.8.0rc1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0rc1">1.7.0rc1</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>
+<option value="1.5.0rc1">1.5.0rc1</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="Japanese" value="jp">
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="kr"><option value="2.0.0">2.0.0</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_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</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_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</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_project-settings_index.md.html#Project%20Settings">Project Settings</a></li>
+<li><a href="guide_plugin-development_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</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/config.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>No permissions are required.
+</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>config.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a>" value="CDVAccelerometer" /&gt;
+</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>&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>
+
+<h3>Tizen</h3>
+
+<pre class="prettyprint"><code>No permissions are required.
+</code></pre>
+
+<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 and 8</li>
+<li>Bada 1.2 &amp; 2.x</li>
+<li>Tizen</li>
+<li>Windows 8</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>&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;title&gt;<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Example&lt;/title&gt;
+
+    &lt;script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"&gt;&lt;/script&gt;
+    &lt;script type="text/javascript" charset="utf-8"&gt;
+
+    // Wait for Cordova to load
+    //
+    document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<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!');
+    }
+
+    &lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;h1&gt;Example&lt;/h1&gt;
+    &lt;p&gt;getCurrentAcceleration&lt;/p&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
+</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 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 and 8</li>
+<li>Bada 1.2 &amp; 2.x</li>
+<li>Tizen</li>
+<li>Windows 8</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>&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;title&gt;<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Example&lt;/title&gt;
+
+    &lt;script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"&gt;&lt;/script&gt;
+    &lt;script type="text/javascript" charset="utf-8"&gt;
+
+    // The watch id references the current `watchAcceleration`
+    var watchID = null;
+
+    // Wait for Cordova to load
+    //
+    document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<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 + '&lt;br /&gt;' +
+                            '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '&lt;br /&gt;' +
+                            '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '&lt;br /&gt;' +
+                            'Timestamp: '      + acceleration.timestamp + '&lt;br /&gt;';
+    }
+
+    // onError: Failed to get the acceleration
+    //
+    function onError() {
+        alert('onError!');
+    }
+
+    &lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div id="accelerometer"&gt;Waiting for accelerometer...&lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
+</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 and 8</li>
+<li>Bada 1.2 &amp; 2.x</li>
+<li>Tizen</li>
+<li>Windows 8</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>&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;title&gt;<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Example&lt;/title&gt;
+
+    &lt;script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"&gt;&lt;/script&gt;
+    &lt;script type="text/javascript" charset="utf-8"&gt;
+
+    // The watch id references the current `watchAcceleration`
+    var watchID = null;
+
+    // Wait for Cordova to load
+    //
+    document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<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 + '&lt;br /&gt;' +
+                            '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Y: ' + acceleration.y + '&lt;br /&gt;' +
+                            '<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Z: ' + acceleration.z + '&lt;br /&gt;' + 
+                            'Timestamp: '      + acceleration.timestamp + '&lt;br /&gt;';
+    }
+
+    // onError: Failed to get the acceleration
+    //
+    function onError() {
+        alert('onError!');
+    }
+
+    &lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div id="accelerometer"&gt;Waiting for accelerometer...&lt;/div&gt;
+    &lt;button onclick="stopWatch();"&gt;Stop Watching&lt;/button&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
+</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 and 8</li>
+<li>Bada 1.2 &amp; 2.x</li>
+<li>webOS</li>
+<li>Tizen</li>
+<li>Windows 8</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>&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;title&gt;<a href="cordova_accelerometer_accelerometer.md.html#Acceleration">Acceleration</a> Example&lt;/title&gt;
+
+    &lt;script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"&gt;&lt;/script&gt;
+    &lt;script type="text/javascript" charset="utf-8"&gt;
+
+    // Wait for Cordova to load
+    //
+    document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<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!');
+    }
+
+    &lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;h1&gt;Example&lt;/h1&gt;
+    &lt;p&gt;getCurrentAcceleration&lt;/p&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
+</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>

Added: cordova/site/public/docs/en/2.5.0rc1/cordova_camera_camera.cleanup.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/2.5.0rc1/cordova_camera_camera.cleanup.md.html?rev=1449255&view=auto
==============================================================================
--- cordova/site/public/docs/en/2.5.0rc1/cordova_camera_camera.cleanup.md.html (added)
+++ cordova/site/public/docs/en/2.5.0rc1/cordova_camera_camera.cleanup.md.html Fri Feb 22 23:42:47 2013
@@ -0,0 +1,157 @@
+<!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 value="edge">edge</option>
+<option selected value="2.5.0rc1">2.5.0rc1</option>
+<option value="2.4.0rc1">2.4.0rc1</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0rc2">2.3.0rc2</option>
+<option value="2.3.0rc1">2.3.0rc1</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0rc2">2.2.0rc2</option>
+<option value="2.2.0rc1">2.2.0rc1</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0rc2">2.1.0rc2</option>
+<option value="2.1.0rc1">2.1.0rc1</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0rc1">2.0.0rc1</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0rc1">1.9.0rc1</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0rc1">1.8.0rc1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0rc1">1.7.0rc1</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>
+<option value="1.5.0rc1">1.5.0rc1</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="Japanese" value="jp">
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="kr"><option value="2.0.0">2.0.0</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_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</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_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</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_project-settings_index.md.html#Project%20Settings">Project Settings</a></li>
+<li><a href="guide_plugin-development_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</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>

Added: cordova/site/public/docs/en/2.5.0rc1/cordova_camera_camera.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/2.5.0rc1/cordova_camera_camera.md.html?rev=1449255&view=auto
==============================================================================
--- cordova/site/public/docs/en/2.5.0rc1/cordova_camera_camera.md.html (added)
+++ cordova/site/public/docs/en/2.5.0rc1/cordova_camera_camera.md.html Fri Feb 22 23:42:47 2013
@@ -0,0 +1,696 @@
+<!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 value="edge">edge</option>
+<option selected value="2.5.0rc1">2.5.0rc1</option>
+<option value="2.4.0rc1">2.4.0rc1</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0rc2">2.3.0rc2</option>
+<option value="2.3.0rc1">2.3.0rc1</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0rc2">2.2.0rc2</option>
+<option value="2.2.0rc1">2.2.0rc1</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0rc2">2.1.0rc2</option>
+<option value="2.1.0rc1">2.1.0rc1</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0rc1">2.0.0rc1</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0rc1">1.9.0rc1</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0rc1">1.8.0rc1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0rc1">1.7.0rc1</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>
+<option value="1.5.0rc1">1.5.0rc1</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="Japanese" value="jp">
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="kr"><option value="2.0.0">2.0.0</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <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_tizen_quirks">      - Tizen Quirks</option>
+<option value="camera.getPicture_quick_example">      - Quick Example</option>
+<option value="camera.getPicture_full_example">      - Full Example</option>
+<option value="cameraSuccess">cameraSuccess</option>
+<option value="cameraSuccess_parameters">      - Parameters</option>
+<option value="cameraSuccess_example">      - Example</option>
+<option value="cameraError">cameraError</option>
+<option value="cameraError_parameters">      - Parameters</option>
+<option value="cameraOptions">cameraOptions</option>
+<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_webos_quirks">      - webOS Quirks</option>
+<option value="cameraOptions_ios_quirks">      - iOS Quirks</option>
+<option value="cameraOptions_windows_phone_7_and_8_quirks">      - Windows Phone 7 and 8 Quirks</option>
+<option value="cameraOptions_bada_1_2_quirks">      - Bada 1.2 Quirks</option>
+<option value="cameraOptions_tizen_quirks">      - Tizen Quirks</option>
+<option value="CameraPopoverOptions">CameraPopoverOptions</option>
+<option value="CameraPopoverOptions_camerapopoveroptions">      - CameraPopoverOptions</option>
+<option value="CameraPopoverOptions_quick_example">      - Quick 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_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</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_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</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_project-settings_index.md.html#Project%20Settings">Project Settings</a></li>
+<li><a href="guide_plugin-development_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</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">Camera</a></h1>
+
+<blockquote>
+  <p>The <code>camera</code> object provides access to the device's default camera application.</p>
+</blockquote>
+
+<h2>
+<a name="Camera_methods">Methods</a>
+</h2>
+
+<ul>
+<li><a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a></li>
+<li><a href="cordova_camera_camera.cleanup.md.html#camera.cleanup">camera.cleanup</a></li>
+</ul>
+<h2>
+<a name="Camera_permissions">Permissions</a>
+</h2>
+
+<h3>Android</h3>
+
+<h4>app/res/xml/config.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>
+
+<h4>manifest.xml</h4>
+
+<pre class="prettyprint"><code>&lt;Privilege&gt;
+    &lt;Name&gt;CAMERA&lt;/Name&gt;
+&lt;/Privilege&gt;
+&lt;Privilege&gt;
+    &lt;Name&gt;RECORDING&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_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>config.xml</h4>
+
+<pre class="prettyprint"><code>&lt;plugin name="<a href="cordova_camera_camera.md.html#Camera">Camera</a>" value="CDVCamera" /&gt;
+</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>&lt;Capabilities&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>
+
+<h3>Tizen</h3>
+
+<h4>config.xml</h4>
+
+<pre class="prettyprint"><code>&lt;feature name="http://tizen.org/api/application" required="true"/&gt;
+&lt;feature name="http://tizen.org/api/application.launch" required="true"/&gt;
+</code></pre>
+
+<p>Reference: <a class="external" href="https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures">Application Manifest for Tizen Web Application</a></p>
+
+<hr>
+<h1><a name="camera.getPicture">camera.getPicture</a></h1>
+
+<p>Takes a photo using the camera or retrieves a photo from the device's album.  The image is returned as a base64 encoded <code>String</code> or as the URI of an image file.</p>
+
+<pre class="prettyprint"><code>navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>( <a href="cordova_camera_camera.md.html#cameraSuccess">cameraSuccess</a>, <a href="cordova_camera_camera.md.html#cameraError">cameraError</a>, [ <a href="cordova_camera_camera.md.html#cameraOptions">cameraOptions</a> ] );
+</code></pre>
+
+<h2>
+<a name="camera.getPicture_description">Description</a>
+</h2>
+
+<p>Function <code><a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a></code> opens the device's default camera application so that the user can take a picture (if <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>, which is the default). Once the photo is taken, the camera application closes and your application is restored.</p>
+
+<p>If <code><a href="cordova_camera_camera.md.html#Camera">Camera</a>.sourceType = <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSourceType.PHOTOLIBRARY</code> or <code><a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSourceType.SAVEDPHOTOALBUM</code>, then a photo chooser dialog is shown, from which a photo from the album can be selected.</p>
+
+<p>The return value will be sent to the <code><a href="cordova_camera_camera.md.html#cameraSuccess">cameraSuccess</a></code> function, in one of the following formats, depending on the <code><a href="cordova_camera_camera.md.html#cameraOptions">cameraOptions</a></code> you specify:</p>
+
+<ul>
+<li>A <code>String</code> containing the Base64 encoded photo image (default). </li>
+<li>A <code>String</code> representing the image file location on local storage.  </li>
+</ul>
+<p>You can do whatever you want with the encoded image or URI, for example:</p>
+
+<ul>
+<li>Render the image in an <code>&lt;img&gt;</code> tag <em>(see example below)</em>
+</li>
+<li>Save the data locally (<code>LocalStorage</code>, <a class="external" href="http://brianleroux.github.com/lawnchair/">Lawnchair</a>, etc)</li>
+<li>Post the data to a remote server</li>
+</ul>
+<p><strong>Note:</strong> The image quality of pictures taken using the camera on newer devices is quite good, and images from the Photo Album will not be downscaled to a lower quality, even if a quality parameter is specified.  <strong><em>Encoding such images using Base64 has caused memory issues on many newer devices.  Therefore, using FILE</em>URI as the '<a href="cordova_camera_camera.md.html#Camera">Camera</a>.destinationType' is highly recommended._</strong></p>
+
+<h2>
+<a name="camera.getPicture_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 and 8</li>
+<li>Bada 1.2</li>
+<li>webOS</li>
+<li>Tizen</li>
+<li>Windows 8</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 <a href="cordova_inappbrowser_inappbrowser.md.html#close">close</a> before the alert is displayed: </p>
+
+<pre class="prettyprint"><code>setTimeout(function() { 
+    // do your thing here!
+}, 0);
+</code></pre>
+
+<h2>
+<a name="camera.getPicture_windows_phone_7_quirks">Windows Phone 7 Quirks</a>
+</h2>
+
+<p>Invoking the native camera application while your device is connected
+via Zune will not work, and the error callback will be triggered.</p>
+
+<h2>
+<a name="camera.getPicture_tizen_quirks">Tizen Quirks</a>
+</h2>
+
+<p>Only 'destinationType: <a href="cordova_camera_camera.md.html#Camera">Camera</a>.DestinationType.FILE_URI' and 'sourceType: <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSourceType.PHOTOLIBRARY' are supported.</p>
+
+<h2>
+<a name="camera.getPicture_quick_example">Quick Example</a>
+</h2>
+
+<p>Take photo and retrieve Base64-encoded image:</p>
+
+<pre class="prettyprint"><code>navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>(onSuccess, onFail, { quality: 50,
+    destinationType: <a href="cordova_camera_camera.md.html#Camera">Camera</a>.DestinationType.DATA_URL
+ }); 
+
+function onSuccess(imageData) {
+    var image = document.getElementById('myImage');
+    image.src = "data:image/jpeg;base64," + imageData;
+}
+
+function onFail(message) {
+    alert('Failed because: ' + message);
+}
+</code></pre>
+
+<p>Take photo and retrieve image file location: </p>
+
+<pre class="prettyprint"><code>navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>(onSuccess, onFail, { quality: 50, 
+    destinationType: <a href="cordova_camera_camera.md.html#Camera">Camera</a>.DestinationType.FILE_URI }); 
+
+function onSuccess(imageURI) {
+    var image = document.getElementById('myImage');
+    image.src = imageURI;
+}
+
+function onFail(message) {
+    alert('Failed because: ' + message);
+}
+</code></pre>
+
+<h2>
+<a name="camera.getPicture_full_example">Full Example</a>
+</h2>
+
+<pre class="prettyprint"><code>&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;title&gt;<a href="cordova_media_capture_capture.md.html#Capture">Capture</a> Photo&lt;/title&gt;
+
+    &lt;script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"&gt;&lt;/script&gt;
+    &lt;script type="text/javascript" charset="utf-8"&gt;
+
+    var pictureSource;   // picture source
+    var destinationType; // sets the format of returned value 
+
+    // Wait for Cordova to connect with the device
+    //
+    document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>",onDeviceReady,false);
+
+    // Cordova is ready to be used!
+    //
+    function onDeviceReady() {
+        pictureSource=navigator.camera.PictureSourceType;
+        destinationType=navigator.camera.DestinationType;
+    }
+
+    // Called when a photo is successfully retrieved
+    //
+    function onPhotoDataSuccess(imageData) {
+      // Uncomment to view the base64 encoded image data
+      // console.log(imageData);
+
+      // Get image handle
+      //
+      var smallImage = document.getElementById('smallImage');
+
+      // Unhide image elements
+      //
+      smallImage.style.display = 'block';
+
+      // Show the captured photo
+      // The inline CSS rules are used to resize the image
+      //
+      smallImage.src = "data:image/jpeg;base64," + imageData;
+    }
+
+    // Called when a photo is successfully retrieved
+    //
+    function onPhotoURISuccess(imageURI) {
+      // Uncomment to view the image file URI 
+      // console.log(imageURI);
+
+      // Get image handle
+      //
+      var largeImage = document.getElementById('largeImage');
+
+      // Unhide image elements
+      //
+      largeImage.style.display = 'block';
+
+      // Show the captured photo
+      // The inline CSS rules are used to resize the image
+      //
+      largeImage.src = imageURI;
+    }
+
+    // A button will call this function
+    //
+    function capturePhoto() {
+      // Take picture using device camera and retrieve image as base64-encoded string
+      navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>(onPhotoDataSuccess, onFail, { quality: 50,
+        destinationType: destinationType.DATA_URL });
+    }
+
+    // A button will call this function
+    //
+    function capturePhotoEdit() {
+      // Take picture using device camera, allow edit, and retrieve image as base64-encoded string  
+      navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>(onPhotoDataSuccess, onFail, { quality: 20, allowEdit: true,
+        destinationType: destinationType.DATA_URL });
+    }
+
+    // A button will call this function
+    //
+    function getPhoto(source) {
+      // Retrieve image file location from specified source
+      navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>(onPhotoURISuccess, onFail, { quality: 50, 
+        destinationType: destinationType.FILE_URI,
+        sourceType: source });
+    }
+
+    // Called if something bad happens.
+    // 
+    function onFail(message) {
+      alert('Failed because: ' + message);
+    }
+
+    &lt;/script&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;button onclick="capturePhoto();"&gt;<a href="cordova_media_capture_capture.md.html#Capture">Capture</a> Photo&lt;/button&gt; &lt;br&gt;
+    &lt;button onclick="capturePhotoEdit();"&gt;<a href="cordova_media_capture_capture.md.html#Capture">Capture</a> Editable Photo&lt;/button&gt; &lt;br&gt;
+    &lt;button onclick="getPhoto(pictureSource.PHOTOLIBRARY);"&gt;From Photo Library&lt;/button&gt;&lt;br&gt;
+    &lt;button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);"&gt;From Photo Album&lt;/button&gt;&lt;br&gt;
+    &lt;img style="display:none;width:60px;height:60px;" id="smallImage" src="" /&gt;
+    &lt;img style="display:none;" id="largeImage" src="" /&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
+</code></pre>
+
+<hr>
+<h1><a name="cameraSuccess">cameraSuccess</a></h1>
+
+<p>onSuccess callback function that provides the image data.</p>
+
+<pre class="prettyprint"><code>function(imageData) {
+    // Do something with the image
+}
+</code></pre>
+
+<h2>
+<a name="cameraSuccess_parameters">Parameters</a>
+</h2>
+
+<ul>
+<li>
+<strong>imageData:</strong> Base64 encoding of the image data, OR the image file URI, depending on <code><a href="cordova_camera_camera.md.html#cameraOptions">cameraOptions</a></code> used. (<code>String</code>)</li>
+</ul>
+<h2>
+<a name="cameraSuccess_example">Example</a>
+</h2>
+
+<pre class="prettyprint"><code>// Show image
+//
+function cameraCallback(imageData) {
+    var image = document.getElementById('myImage');
+    image.src = "data:image/jpeg;base64," + imageData;
+}
+</code></pre>
+
+<hr>
+<h1><a name="cameraError">cameraError</a></h1>
+
+<p>onError callback function that provides an error message.</p>
+
+<pre class="prettyprint"><code>function(message) {
+    // Show a helpful message
+}
+</code></pre>
+
+<h2>
+<a name="cameraError_parameters">Parameters</a>
+</h2>
+
+<ul>
+<li>
+<strong>message:</strong> The message is provided by the device's native code. (<code>String</code>)</li>
+</ul>
+<hr>
+<h1><a name="cameraOptions">cameraOptions</a></h1>
+
+<p>Optional parameters to customize the camera settings.</p>
+
+<pre class="prettyprint"><code>{ quality : 75, 
+  destinationType : <a href="cordova_camera_camera.md.html#Camera">Camera</a>.DestinationType.DATA_URL, 
+  sourceType : <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSourceType.CAMERA, 
+  allowEdit : true,
+  encodingType: <a href="cordova_camera_camera.md.html#Camera">Camera</a>.EncodingType.JPEG,
+  targetWidth: 100,
+  targetHeight: 100,
+  popoverOptions: <a href="cordova_camera_camera.md.html#CameraPopoverOptions">CameraPopoverOptions</a>,
+  saveToPhotoAlbum: false };
+</code></pre>
+
+<h2>
+<a name="cameraOptions_options">Options</a>
+</h2>
+
+<ul>
+<li><p><strong>quality:</strong> Quality of saved image. Range is [0, 100]. (<code>Number</code>)</p></li>
+<li>
+<p><strong>destinationType:</strong> Choose the format of the return value.  Defined in navigator.camera.DestinationType (<code>Number</code>)</p>
+
+<pre class="prettyprint"><code>    <a href="cordova_camera_camera.md.html#Camera">Camera</a>.DestinationType = {
+        DATA_URL : 0,                // Return image as base64 encoded string
+        FILE_URI : 1                 // Return image file URI
+    };
+</code></pre>
+</li>
+<li>
+<p><strong>sourceType:</strong> Set the source of the picture.  Defined in nagivator.camera.PictureSourceType (<code>Number</code>)</p>
+
+<pre class="prettyprint"><code><a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSourceType = {
+    PHOTOLIBRARY : 0,
+    CAMERA : 1,
+    SAVEDPHOTOALBUM : 2
+};
+</code></pre>
+</li>
+<li><p><strong>allowEdit:</strong> Allow simple editing of image before selection. (<code>Boolean</code>)</p></li>
+<li>
+<p><strong>encodingType:</strong> Choose the encoding of the returned image file.  Defined in navigator.camera.EncodingType (<code>Number</code>)</p>
+
+<pre class="prettyprint"><code>    <a href="cordova_camera_camera.md.html#Camera">Camera</a>.EncodingType = {
+        JPEG : 0,               // Return JPEG encoded image
+        PNG : 1                 // Return PNG encoded image
+    };
+</code></pre>
+</li>
+<li><p><strong>targetWidth:</strong> Width in pixels to scale image. Must be used with targetHeight.  Aspect ratio is maintained. (<code>Number</code>)</p></li>
+<li><p><strong>targetHeight:</strong> Height in pixels to scale image. Must be used with targetWidth. Aspect ratio is maintained. (<code>Number</code>)</p></li>
+<li>
+<p><strong>mediaType:</strong> Set the type of media to select from.  Only works when PictureSourceType is PHOTOLIBRARY or SAVEDPHOTOALBUM. Defined in nagivator.camera.MediaType (<code>Number</code>)</p>
+
+<pre class="prettyprint"><code><a href="cordova_camera_camera.md.html#Camera">Camera</a>.MediaType = { 
+    PICTURE: 0,             // allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType
+    VIDEO: 1,               // allow selection of video only, WILL ALWAYS RETURN FILE_URI
+    ALLMEDIA : 2            // allow selection from all media types
+</code></pre>
+
+<p>};</p>
+</li>
+<li><p><strong>correctOrientation:</strong> Rotate the image to correct for the orientation of the device during capture. (<code>Boolean</code>)</p></li>
+<li>
+<strong>saveToPhotoAlbum:</strong> Save the image to the photo album on the device after capture. (<code>Boolean</code>)</li>
+<li>
+<strong>popoverOptions:</strong> iOS only options to specify popover location in iPad.  Defined in <a href="cordova_camera_camera.md.html#CameraPopoverOptions">CameraPopoverOptions</a>
+</li>
+</ul>
+<h2>
+<a name="cameraOptions_android_quirks">Android Quirks</a>
+</h2>
+
+<ul>
+<li>Ignores the <code>allowEdit</code> parameter.</li>
+<li>
+<a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSourceType.PHOTOLIBRARY and <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSourceType.SAVEDPHOTOALBUM both display the same photo album.</li>
+</ul>
+<h2>
+<a name="cameraOptions_blackberry_quirks">BlackBerry Quirks</a>
+</h2>
+
+<ul>
+<li>Ignores the <code>quality</code> parameter.</li>
+<li>Ignores the <code>sourceType</code> parameter.</li>
+<li>Ignores the <code>allowEdit</code> parameter.</li>
+<li>Application must have key injection permissions to <a href="cordova_inappbrowser_inappbrowser.md.html#close">close</a> native <a href="cordova_camera_camera.md.html#Camera">Camera</a> application after photo is taken.</li>
+<li>Using Large image sizes may result in inability to encode image on later model devices with high resolution cameras (e.g. Torch 9800).</li>
+<li>
+<a href="cordova_camera_camera.md.html#Camera">Camera</a>.MediaType is not supported.</li>
+<li>Ignores the <code>correctOrientation</code> parameter.</li>
+</ul>
+<h2>
+<a name="cameraOptions_webos_quirks">webOS Quirks</a>
+</h2>
+
+<ul>
+<li>Ignores the <code>quality</code> parameter.</li>
+<li>Ignores the <code>sourceType</code> parameter.</li>
+<li>Ignores the <code>allowEdit</code> parameter.</li>
+<li>
+<a href="cordova_camera_camera.md.html#Camera">Camera</a>.MediaType is not supported.</li>
+<li>Ignores the <code>correctOrientation</code> parameter.</li>
+<li>Ignores the <code>saveToPhotoAlbum</code> parameter.</li>
+</ul>
+<h2>
+<a name="cameraOptions_ios_quirks">iOS Quirks</a>
+</h2>
+
+<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.  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_and_8_quirks">Windows Phone 7 and 8 Quirks</a>
+</h2>
+
+<ul>
+<li>Ignores the <code>allowEdit</code> parameter.</li>
+<li>Ignores the <code>correctOrientation</code> parameter.</li>
+</ul>
+<h2>
+<a name="cameraOptions_bada_1_2_quirks">Bada 1.2 Quirks</a>
+</h2>
+
+<ul>
+<li>options not supported</li>
+<li>always returns a FILE URI</li>
+</ul>
+<h2>
+<a name="cameraOptions_tizen_quirks">Tizen Quirks</a>
+</h2>
+
+<ul>
+<li>options not supported</li>
+<li>always returns a FILE URI</li>
+</ul>
+<hr>
+<h1><a name="CameraPopoverOptions">CameraPopoverOptions</a></h1>
+
+<p>Parameters only used by iOS to specify the anchor element location and arrow direction of popover used on iPad when selecting images from the library or album.</p>
+
+<pre class="prettyprint"><code>{ x : 0, 
+  y :  32,
+  width : 320,
+  height : 480,
+  arrowDir : <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PopoverArrowDirection.ARROW_ANY
+};
+</code></pre>
+
+<h2>
+<a name="CameraPopoverOptions_camerapopoveroptions">CameraPopoverOptions</a>
+</h2>
+
+<ul>
+<li><p><strong>x:</strong> x pixel coordinate of element on the screen to anchor popover onto. (<code>Number</code>)</p></li>
+<li><p><strong>y:</strong> y pixel coordinate of element on the screen to anchor popover onto. (<code>Number</code>)</p></li>
+<li><p><strong>width:</strong> width, in pixels, of the element on the screen to anchor popover onto. (<code>Number</code>)</p></li>
+<li><p><strong>height:</strong> height, in pixels, of the element on the screen to anchor popover onto. (<code>Number</code>)</p></li>
+<li>
+<p><strong>arrowDir:</strong> Direction the arrow on the popover should point.  Defined in <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PopoverArrowDirection (<code>Number</code>)</p>
+
+<pre class="prettyprint"><code>    <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PopoverArrowDirection = {
+        ARROW_UP : 1,        // matches iOS UIPopoverArrowDirection constants
+        ARROW_DOWN : 2,
+        ARROW_LEFT : 4,
+        ARROW_RIGHT : 8,
+        ARROW_ANY : 15
+    };
+</code></pre>
+</li>
+</ul>
+<p>Note that the size of the popover may change to adjust to the direction of the arrow and orientation of the screen.  Make sure to account for orientation changes when specifying the anchor element location. </p>
+
+<h2>
+<a name="CameraPopoverOptions_quick_example">Quick Example</a>
+</h2>
+
+<pre class="prettyprint"><code> var popover = new <a href="cordova_camera_camera.md.html#CameraPopoverOptions">CameraPopoverOptions</a>(300,300,100,100,<a href="cordova_camera_camera.md.html#Camera">Camera</a>.PopoverArrowDirection.ARROW_ANY);
+ var options = { quality: 50, destinationType: <a href="cordova_camera_camera.md.html#Camera">Camera</a>.DestinationType.DATA_URL,sourceType: <a href="cordova_camera_camera.md.html#Camera">Camera</a>.PictureSource.SAVEDPHOTOALBUM, popoverOptions : popover };
+
+ navigator.<a href="cordova_camera_camera.md.html#camera.getPicture">camera.getPicture</a>(onSuccess, onFail, options);
+
+ function onSuccess(imageData) {
+    var image = document.getElementById('myImage');
+    image.src = "data:image/jpeg;base64," + imageData;
+}
+
+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>



Mime
View raw message