Permalink
Browse files

updated for 2.1

  • Loading branch information...
stevengill committed Sep 19, 2012
1 parent 2dbbdab commit d5e6e4b951de88472d0001d6d77adb17c44f9a69
Showing 576 changed files with 80,894 additions and 32,812 deletions.
View
@@ -1 +1 @@
-2.0.0
+2.1.0
View
522 changelog

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,11 +0,0 @@
-Apache Cordova
-Copyright 2012 The Apache Software Foundation
-
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org)
-
-This product includes software developed by
-Ant-Contrib project (http://sourceforge.net/projects/ant-contrib).
-
-Modifications to phonegap-core.js (compassAPI) and compass.js (adapted from accelerometer.js) are
-Copyright 2012 Hewlett-Packard Development Company, L.P.
View
@@ -32,8 +32,11 @@ <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 value="2.1.0rc2">2.1.0rc2</option>
+<option value="2.1.0rc1">2.1.0rc1</option>
+<option selected value="2.1.0">2.1.0</option>
<option value="2.0.0rc1">2.0.0rc1</option>
-<option selected value="2.0.0">2.0.0</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>
@@ -70,10 +73,13 @@ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<option value="1.1.0">1.1.0</option>
</optgroup>
<optgroup label="Japanese" value="jp">
+<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>
<option value="0.9.5">0.9.5</option>
-</optgroup></select></small>
+</optgroup>
+<optgroup label="Korean" value="kr"><option value="2.0.0">2.0.0</option></optgroup></select></small>
</div>
<div id="subheader">
<h1>Keyword Index</h1>
@@ -201,6 +207,7 @@ <h2>D</h2>
<li><a href="guide_plugin-development_bada_index.md.html#Developing%20a%20Plugin%20on%20Bada">Developing a Plugin on Bada</a></li>
<li><a href="guide_plugin-development_blackberry_index.md.html#Developing%20a%20Plugin%20on%20BlackBerry">Developing a Plugin on BlackBerry</a></li>
<li><a href="guide_plugin-development_ios_index.md.html#Developing%20a%20Plugin%20on%20iOS">Developing a Plugin on iOS</a></li>
+<li><a href="guide_plugin-development_tizen_index.md.html#Developing%20a%20Plugin%20on%20Tizen">Developing a Plugin on Tizen</a></li>
<li><a href="guide_plugin-development_webos_index.md.html#Developing%20a%20Plugin%20on%20webOS">Developing a Plugin on webOS</a></li>
<li><a href="guide_plugin-development_windows-phone_index.md.html#Developing%20a%20Plugin%20on%20Windows%20Phone">Developing a Plugin on Windows Phone</a></li>
<li><a href="cordova_device_device.md.html#Device">Device</a></li>
@@ -254,6 +261,7 @@ <h2>G</h2>
<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_tizen_index.md.html#Getting%20Started%20with%20Tizen">Getting Started with Tizen</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>
@@ -333,6 +341,7 @@ <h2>U</h2>
<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_tizen_index.md.html#Upgrading%20Cordova%20Tizen">Upgrading Cordova Tizen</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>
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -32,8 +32,11 @@ <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 value="2.1.0rc2">2.1.0rc2</option>
+<option value="2.1.0rc1">2.1.0rc1</option>
+<option selected value="2.1.0">2.1.0</option>
<option value="2.0.0rc1">2.0.0rc1</option>
-<option selected value="2.0.0">2.0.0</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>
@@ -70,10 +73,13 @@ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<option value="1.1.0">1.1.0</option>
</optgroup>
<optgroup label="Japanese" value="jp">
+<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>
<option value="0.9.5">0.9.5</option>
-</optgroup></select></small>
+</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>
@@ -231,6 +237,11 @@ <h4>Properties/WPAppManifest.xml</h4>
<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>
@@ -257,6 +268,7 @@ <h2>
<li>iPhone</li>
<li>Windows Phone 7 (Mango)</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>Tizen</li>
</ul>
<h2>
<a name="accelerometer.getCurrentAcceleration_quick_example">Quick Example</a>
@@ -285,7 +297,7 @@ <h2>
&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.0.0.js"&gt;&lt;/script&gt;
+ &lt;script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" charset="utf-8"&gt;
// Wait for Cordova to load
@@ -349,7 +361,7 @@ <h2>
<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>
+<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>
@@ -361,6 +373,7 @@ <h2>
<li>iPhone</li>
<li>Windows Phone 7 (Mango)</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>Tizen</li>
</ul>
<h2>
<a name="accelerometer.watchAcceleration_quick_example">Quick Example</a>
@@ -391,7 +404,7 @@ <h2>
&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.0.0.js"&gt;&lt;/script&gt;
+ &lt;script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" charset="utf-8"&gt;
// The watch id references the current `watchAcceleration`
@@ -484,6 +497,7 @@ <h2>
<li>iPhone</li>
<li>Windows Phone 7 (Mango)</li>
<li>Bada 1.2 &amp; 2.x</li>
+<li>Tizen</li>
</ul>
<h2>
<a name="accelerometer.clearWatch_quick_example">Quick Example</a>
@@ -505,7 +519,7 @@ <h2>
&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.0.0.js"&gt;&lt;/script&gt;
+ &lt;script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" charset="utf-8"&gt;
// The watch id references the current `watchAcceleration`
@@ -601,6 +615,7 @@ <h2>
<li>Windows Phone 7 (Mango)</li>
<li>Bada 1.2 &amp; 2.x</li>
<li>webOS</li>
+<li>Tizen</li>
</ul>
<h2>
<a name="Acceleration_quick_example">Quick Example</a>
@@ -629,7 +644,7 @@ <h2>
&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.0.0.js"&gt;&lt;/script&gt;
+ &lt;script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" charset="utf-8"&gt;
// Wait for Cordova to load
@@ -32,8 +32,11 @@ <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 value="2.1.0rc2">2.1.0rc2</option>
+<option value="2.1.0rc1">2.1.0rc1</option>
+<option selected value="2.1.0">2.1.0</option>
<option value="2.0.0rc1">2.0.0rc1</option>
-<option selected value="2.0.0">2.0.0</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>
@@ -70,10 +73,13 @@ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<option value="1.1.0">1.1.0</option>
</optgroup>
<optgroup label="Japanese" value="jp">
+<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>
<option value="0.9.5">0.9.5</option>
-</optgroup></select></small>
+</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>
@@ -32,8 +32,11 @@ <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 value="2.1.0rc2">2.1.0rc2</option>
+<option value="2.1.0rc1">2.1.0rc1</option>
+<option selected value="2.1.0">2.1.0</option>
<option value="2.0.0rc1">2.0.0rc1</option>
-<option selected value="2.0.0">2.0.0</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>
@@ -70,10 +73,13 @@ <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
<option value="1.1.0">1.1.0</option>
</optgroup>
<optgroup label="Japanese" value="jp">
+<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>
<option value="0.9.5">0.9.5</option>
-</optgroup></select></small>
+</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>
@@ -85,6 +91,7 @@ <h1>Camera</h1>
<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>
@@ -100,6 +107,7 @@ <h1>Camera</h1>
<option value="cameraOptions_ios_quirks">      - iOS Quirks</option>
<option value="cameraOptions_windows_phone_7_quirks">      - Windows Phone 7 Quirks</option>
<option value="cameraOptions_bada_1_2_quirks">      - Bada 1.2 Quirks</option>
+<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>
@@ -224,6 +232,16 @@ <h4>Properties/WPAppManifest.xml</h4>
<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>
@@ -254,7 +272,7 @@ <h2>
<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>Note: 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. <em>Encoding such images using Base64 has caused memory issues on some of these devices (iPhone 4, BlackBerry Torch 9800).</em> Therefore, using FILE_URI as the '<a href="cordova_camera_camera.md.html#Camera">Camera</a>.destinationType' is highly recommended.</p>
+<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>
@@ -267,12 +285,18 @@ <h2>
<li>Windows Phone 7 ( Mango )</li>
<li>Bada 1.2</li>
<li>webOS</li>
+<li>Tizen</li>
</ul>
<h2>
<a name="camera.getPicture_ios_quirks">iOS Quirks</a>
</h2>
-<p>Including a JavaScript alert() in either of the callback functions can cause problems. Wrap the alert in a setTimeout() to allow the iOS image picker or popover to fully close before the alert is displayed: setTimeout("alert('message');", 0);</p>
+<p>Including a JavaScript alert() in either of the callback functions can cause problems. Wrap the alert in a setTimeout() to allow the iOS image picker or popover to fully close before the alert is displayed: </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>
@@ -281,6 +305,12 @@ <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>
@@ -325,7 +355,7 @@ <h2>
&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.0.0.js"&gt;&lt;/script&gt;
+ &lt;script type="text/javascript" charset="utf-8" src="cordova-2.1.0.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" charset="utf-8"&gt;
var pictureSource; // picture source
@@ -601,6 +631,14 @@ <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>
Oops, something went wrong.

0 comments on commit d5e6e4b

Please sign in to comment.