You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/12/19 04:20:06 UTC
svn commit: r1552219 [2/4] - /cordova/site/public/docs/en/edge/
Modified: cordova/site/public/docs/en/edge/cordova_events_events.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/cordova_events_events.md.html?rev=1552219&r1=1552218&r2=1552219&view=diff
==============================================================================
--- cordova/site/public/docs/en/edge/cordova_events_events.md.html (original)
+++ cordova/site/public/docs/en/edge/cordova_events_events.md.html Thu Dec 19 03:20:03 2013
@@ -98,7 +98,12 @@
<h1>Events</h1>
<small><select><option value="Events">Events</option>
<option value="Events_event_types">Â Â Â Â Â Â - Event Types</option>
-<option value="Events_accessing_the_feature">Â Â Â Â Â Â - Accessing the Feature</option>
+<option value="Events_events_added_by_org_apache_cordova_battery_status">Â Â Â Â Â Â -
+Events added by org.apache.cordova.battery-status
+</option>
+<option value="Events_events_added_by_org_apache_cordova_network_information">Â Â Â Â Â Â -
+Events added by org.apache.cordova.network-information
+</option>
<option value="deviceready">deviceready</option>
<option value="deviceready_details">Â Â Â Â Â Â - Details</option>
<option value="deviceready_supported_platforms">Â Â Â Â Â Â - Supported Platforms</option>
@@ -116,43 +121,11 @@
<option value="resume_quick_example">Â Â Â Â Â Â - Quick Example</option>
<option value="resume_full_example">Â Â Â Â Â Â - Full Example</option>
<option value="resume_ios_quirks">Â Â Â Â Â Â - iOS Quirks</option>
-<option value="online">online</option>
-<option value="online_details">Â Â Â Â Â Â - Details</option>
-<option value="online_supported_platforms">Â Â Â Â Â Â - Supported Platforms</option>
-<option value="online_quick_example">Â Â Â Â Â Â - Quick Example</option>
-<option value="online_full_example">Â Â Â Â Â Â - Full Example</option>
-<option value="online_ios_quirks">Â Â Â Â Â Â - iOS Quirks</option>
-<option value="online_windows_phone_7_quirks">Â Â Â Â Â Â - Windows Phone 7 Quirks</option>
-<option value="online_windows_phone_8_quirks">Â Â Â Â Â Â - Windows Phone 8 Quirks</option>
-<option value="offline">offline</option>
-<option value="offline_details">Â Â Â Â Â Â - Details</option>
-<option value="offline_supported_platforms">Â Â Â Â Â Â - Supported Platforms</option>
-<option value="offline_quick_example">Â Â Â Â Â Â - Quick Example</option>
-<option value="offline_full_example">Â Â Â Â Â Â - Full Example</option>
-<option value="offline_ios_quirks">Â Â Â Â Â Â - iOS Quirks</option>
-<option value="offline_windows_phone_7_quirks">Â Â Â Â Â Â - Windows Phone 7 Quirks</option>
-<option value="offline_windows_phone_8_quirks">Â Â Â Â Â Â - Windows Phone 8 Quirks</option>
<option value="backbutton">backbutton</option>
<option value="backbutton_details">Â Â Â Â Â Â - Details</option>
<option value="backbutton_supported_platforms">Â Â Â Â Â Â - Supported Platforms</option>
<option value="backbutton_quick_example">Â Â Â Â Â Â - Quick Example</option>
<option value="backbutton_full_example">Â Â Â Â Â Â - Full Example</option>
-<option value="batterycritical">batterycritical</option>
-<option value="batterycritical_details">Â Â Â Â Â Â - Details</option>
-<option value="batterycritical_supported_platforms">Â Â Â Â Â Â - Supported Platforms</option>
-<option value="batterycritical_quick_example">Â Â Â Â Â Â - Quick Example</option>
-<option value="batterycritical_full_example">Â Â Â Â Â Â - Full Example</option>
-<option value="batterylow">batterylow</option>
-<option value="batterylow_details">Â Â Â Â Â Â - Details</option>
-<option value="batterylow_supported_platforms">Â Â Â Â Â Â - Supported Platforms</option>
-<option value="batterylow_quick_example">Â Â Â Â Â Â - Quick Example</option>
-<option value="batterylow_full_example">Â Â Â Â Â Â - Full Example</option>
-<option value="batterystatus">batterystatus</option>
-<option value="batterystatus_details">Â Â Â Â Â Â - Details</option>
-<option value="batterystatus_supported_platforms">Â Â Â Â Â Â - Supported Platforms</option>
-<option value="batterystatus_windows_phone_7_and_8_quirks">Â Â Â Â Â Â - Windows Phone 7 and 8 Quirks</option>
-<option value="batterystatus_quick_example">Â Â Â Â Â Â - Quick Example</option>
-<option value="batterystatus_full_example">Â Â Â Â Â Â - Full Example</option>
<option value="menubutton">menubutton</option>
<option value="menubutton_details">Â Â Â Â Â Â - Details</option>
<option value="menubutton_supported_platforms">Â Â Â Â Â Â - Supported Platforms</option>
@@ -200,26 +173,13 @@
<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
<li><a href="guide_appdev_whitelist_index.md.html#Whitelist%20Guide">Whitelist Guide</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
<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>
+<li><a href="cordova_plugins_pluginapis.md.html#Plugin%20APIs">Plugin APIs</a></li>
</ul>
</div>
@@ -239,12 +199,7 @@
<li><a href="cordova_events_events.md.html#deviceready">deviceready</a></li>
<li><a href="cordova_events_events.md.html#pause">pause</a></li>
<li><a href="cordova_events_events.md.html#resume">resume</a></li>
-<li><a href="cordova_events_events.md.html#online">online</a></li>
-<li><a href="cordova_events_events.md.html#offline">offline</a></li>
<li><a href="cordova_events_events.md.html#backbutton">backbutton</a></li>
-<li><a href="cordova_events_events.md.html#batterycritical">batterycritical</a></li>
-<li><a href="cordova_events_events.md.html#batterylow">batterylow</a></li>
-<li><a href="cordova_events_events.md.html#batterystatus">batterystatus</a></li>
<li><a href="cordova_events_events.md.html#menubutton">menubutton</a></li>
<li><a href="cordova_events_events.md.html#searchbutton">searchbutton</a></li>
<li><a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a></li>
@@ -253,84 +208,32 @@
<li><a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a></li>
</ul>
<h2>
-<a name="Events_accessing_the_feature">Accessing the Feature</a>
+<a name="Events_events_added_by_org_apache_cordova_battery_status">
+Events added by org.apache.cordova.battery-status
+</a>
</h2>
-<p>As of version 3.0, Cordova implements battery status and other
-device-level APIs as <em>plugins</em>. Access to all other events not related
-to battery status are enabled by default. Use the CLI's <code>plugin</code>
-command, described in <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>, to enable or disable
-battery events:</p>
-
-<pre class="prettyprint"><code> $ cordova plugin add org.apache.cordova.battery-status
- $ cordova plugin ls
- [ 'org.apache.cordova.battery-status' ]
- $ cordova plugin rm org.apache.cordova.battery-status
-</code></pre>
-
-<p>These commands apply to all targeted platforms, but modify the
-platform-specific configuration settings described below:</p>
-
<ul>
-<li>
-<p>Amazon Fire OS</p>
-
-<pre class="prettyprint"><code>(in app/res/xml/config.xml)
-<feature name="Battery">
- <param name="android-package" value="org.apache.cordova.<a href="cordova_events_events.md.html#batterystatus">batterystatus</a>.BatteryListener" />
-</feature>
-</code></pre>
-</li>
-<li>
-<p>Android</p>
-
-<pre class="prettyprint"><code>(in app/res/xml/config.xml)
-<feature name="Battery">
- <param name="android-package" value="org.apache.cordova.<a href="cordova_events_events.md.html#batterystatus">batterystatus</a>.BatteryListener" />
-</feature>
-</code></pre>
-</li>
-<li>
-<p>BlackBerry 10</p>
-
-<pre class="prettyprint"><code>(in www/plugins.xml)
-<feature name="Battery">
- <param name="blackberry-package" value="org.apache.cordova.battery.Battery" />
-</feature>
-
-
-(in www/config.xml)
-<feature id="blackberry.app" required="true" version="1.0.0.0" />
-<feature id="blackberry.app.event" required="true" version="1.0.0.0" />
-<feature id="blackberry.system.event" required="true" version="1.0.0.0" />
-</code></pre>
-</li>
-<li>
-<p>iOS (in the named application directory's <code>config.xml</code>)</p>
-
-<pre class="prettyprint"><code><feature name="Battery">
- <param name="ios-package" value="CDVBattery" />
-</feature>
-</code></pre>
-</li>
-<li>
-<p>Tizen (in <code>config.xml</code>)</p>
-
-<pre class="prettyprint"><code><feature name="http://tizen.org/api/systeminfo" required="true"/>
-</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>
-</li>
+<li>batterycritical</li>
+<li>batterylow</li>
+<li>batterystatus</li>
</ul>
-<p>Some platforms may support this feature without requiring any special
-configuration. See <a href="guide_support_index.md.html#Platform%20Support">Platform Support</a> for an overview.</p>
+<h2>
+<a name="Events_events_added_by_org_apache_cordova_network_information">
+Events added by org.apache.cordova.network-information
+</a>
+</h2>
+<ul>
+<li>online</li>
+<li>offline</li>
+</ul>
<hr>
<h1><a name="deviceready">deviceready</a></h1>
<p>The event fires when Cordova is fully loaded.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -348,7 +251,7 @@ corresponding native code becomes availa
<p>The <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires once Cordova has fully loaded. Once the
event fires, you can safely make calls to Cordova APIs. Applications
-typically attach an event listener with <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code>
+typically attach an event listener with <code>document.addEventListener</code>
once the HTML document's DOM has loaded.</p>
<p>The <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event behaves somewhat differently from others. Any
@@ -372,7 +275,7 @@ callback function called immediately.</p
<a name="deviceready_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
function onDeviceReady() {
// Now safe to use device APIs
@@ -386,7 +289,7 @@ function onDeviceReady() {
<pre class="prettyprint"><code><!DOCTYPE html>
<html>
<head>
- <title><a href="cordova_device_device.md.html#Device">Device</a> Ready Example</title>
+ <title>Device Ready Example</title>
<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
<script type="text/javascript" charset="utf-8">
@@ -394,7 +297,7 @@ function onDeviceReady() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
@@ -415,7 +318,7 @@ function onDeviceReady() {
<p>The event fires when an application is put into the background.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#pause">pause</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#pause">pause</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -426,7 +329,7 @@ function onDeviceReady() {
into the background, typically when the user switches to a different
application.</p>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
+<p>Applications typically should use <code>document.addEventListener</code> to
attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
<h2>
@@ -445,7 +348,7 @@ attach an event listener once the <code>
<a name="pause_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#pause">pause</a>", onPause, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#pause">pause</a>", onPause, false);
function onPause() {
// Handle the <a href="cordova_events_events.md.html#pause">pause</a> event
@@ -467,13 +370,13 @@ function onPause() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#pause">pause</a>", onPause, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#pause">pause</a>", onPause, false);
}
// Handle the <a href="cordova_events_events.md.html#pause">pause</a> event
@@ -513,7 +416,7 @@ to <code>YES</code>. To run when locked
<p>The event fires when an application is retrieved from the background.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#resume">resume</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#resume">resume</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -523,7 +426,7 @@ to <code>YES</code>. To run when locked
<p>The <code><a href="cordova_events_events.md.html#resume">resume</a></code> event fires when the native platform pulls the
application out from the background.</p>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
+<p>Applications typically should use <code>document.addEventListener</code> to
attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
<h2>
@@ -542,7 +445,7 @@ attach an event listener once the <code>
<a name="resume_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#resume">resume</a>", onResume, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#resume">resume</a>", onResume, false);
function onResume() {
// Handle the <a href="cordova_events_events.md.html#resume">resume</a> event
@@ -564,13 +467,13 @@ function onResume() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#resume">resume</a>", onResume, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#resume">resume</a>", onResume, false);
}
// Handle the <a href="cordova_events_events.md.html#resume">resume</a> event
@@ -615,7 +518,7 @@ to <code>YES</code>. To run when locked
as <code>alert()</code> need to be wrapped in a <code>setTimeout()</code> call with a
timeout value of zero, or else the app hangs. For example:</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#resume">resume</a>", onResume, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#resume">resume</a>", onResume, false);
function onResume() {
setTimeout(function() {
// TODO: do your thing!
@@ -625,212 +528,11 @@ function onResume() {
</li>
</ul>
<hr>
-<h1><a name="online">online</a></h1>
-
-<p>This event fires when an application goes <a href="cordova_events_events.md.html#online">online</a>, and the device
-becomes connected to the Internet.</p>
-
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#online">online</a>", yourCallbackFunction, false);
-</code></pre>
-
-<h2>
-<a name="online_details">Details</a>
-</h2>
-
-<p>The <code><a href="cordova_events_events.md.html#online">online</a></code> event fires when a previously unconnected device receives
-a network connection to allow an application access to the Internet.
-It relies on the same information as the <a href="cordova_connection_connection.md.html#Connection">Connection</a> API, and fires
-when the value of <code><a href="cordova_connection_connection.md.html#connection.type">connection.type</a></code> becomes <code>NONE</code>.</p>
-
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
-attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
-
-<h2>
-<a name="online_supported_platforms">Supported Platforms</a>
-</h2>
-
-<ul>
-<li>Amazon Fire OS</li>
-<li>Android</li>
-<li>BlackBerry 10</li>
-<li>iOS</li>
-<li>Windows Phone 7 and 8</li>
-<li>Tizen</li>
-<li>Windows 8</li>
-</ul>
-<h2>
-<a name="online_quick_example">Quick Example</a>
-</h2>
-
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#online">online</a>", onOnline, false);
-
-function onOnline() {
- // Handle the <a href="cordova_events_events.md.html#online">online</a> event
-}
-</code></pre>
-
-<h2>
-<a name="online_full_example">Full Example</a>
-</h2>
-
-<pre class="prettyprint"><code><!DOCTYPE html>
-<html>
- <head>
- <title>Online Example</title>
-
- <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
- <script type="text/javascript" charset="utf-8">
-
- // Wait for device API libraries to load
- //
- function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#online">online</a>", onOnline, false);
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
- }
-
- // device APIs are available
- //
- function onDeviceReady() {
- }
-
- // Handle the <a href="cordova_events_events.md.html#online">online</a> event
- //
- function onOnline() {
- }
-
- </script>
- </head>
- <body onload="onLoad()">
- </body>
-</html>
-</code></pre>
-
-<h2>
-<a name="online_ios_quirks">iOS Quirks</a>
-</h2>
-
-<p>During initial startup, the first <code><a href="cordova_events_events.md.html#online">online</a></code> event (if applicable) takes
-at least a second to fire, prior to which <code><a href="cordova_connection_connection.md.html#connection.type">connection.type</a></code> is
-<code>UNKNOWN</code>.</p>
-
-<h2>
-<a name="online_windows_phone_7_quirks">Windows Phone 7 Quirks</a>
-</h2>
-
-<p>When running in the Emulator, the <code>connection.status</code> is always unknown, so this event does <em>not</em> fire.</p>
-
-<h2>
-<a name="online_windows_phone_8_quirks">Windows Phone 8 Quirks</a>
-</h2>
-
-<p>The Emulator reports the <a href="#connection%20type">connection type</a> as <code>Cellular</code>, which does not change, so events does <em>not</em> fire.</p>
-
-<hr>
-<h1><a name="offline">offline</a></h1>
-
-<p>The event fires when an application goes <a href="cordova_events_events.md.html#offline">offline</a>, and the device is
-not connected to the Internet.</p>
-
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#offline">offline</a>", yourCallbackFunction, false);
-</code></pre>
-
-<h2>
-<a name="offline_details">Details</a>
-</h2>
-
-<p>The <code><a href="cordova_events_events.md.html#offline">offline</a></code> event fires when a previously connected device loses a
-network connection so that an application can no longer access the
-Internet. It relies on the same information as the <a href="cordova_connection_connection.md.html#Connection">Connection</a> API,
-and fires when the <code><a href="cordova_connection_connection.md.html#connection.type">connection.type</a></code> changes from <code>NONE</code> to any other
-value.</p>
-
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
-attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
-
-<h2>
-<a name="offline_supported_platforms">Supported Platforms</a>
-</h2>
-
-<ul>
-<li>Amazon Fire OS</li>
-<li>Android</li>
-<li>BlackBerry 10</li>
-<li>iOS</li>
-<li>Windows Phone 7 and 8</li>
-<li>Tizen</li>
-<li>Windows 8</li>
-</ul>
-<h2>
-<a name="offline_quick_example">Quick Example</a>
-</h2>
-
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#offline">offline</a>", onOffline, false);
-
-function onOffline() {
- // Handle the <a href="cordova_events_events.md.html#offline">offline</a> event
-}
-</code></pre>
-
-<h2>
-<a name="offline_full_example">Full Example</a>
-</h2>
-
-<pre class="prettyprint"><code><!DOCTYPE html>
-<html>
- <head>
- <title>Offline Example</title>
-
- <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
- <script type="text/javascript" charset="utf-8">
-
- // Wait for device API libraries to load
- //
- function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
- }
-
- // device APIs are available
- //
- function onDeviceReady() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#offline">offline</a>", onOffline, false);
- }
-
- // Handle the <a href="cordova_events_events.md.html#offline">offline</a> event
- //
- function onOffline() {
- }
-
- </script>
- </head>
- <body onload="onLoad()">
- </body>
-</html>
-</code></pre>
-
-<h2>
-<a name="offline_ios_quirks">iOS Quirks</a>
-</h2>
-
-<p>During initial startup, the first <a href="cordova_events_events.md.html#offline">offline</a> event (if applicable) takes at least a second to fire.</p>
-
-<h2>
-<a name="offline_windows_phone_7_quirks">Windows Phone 7 Quirks</a>
-</h2>
-
-<p>When running in the Emulator, the <code>connection.status</code> is always unknown, so this event does <em>not</em> fire.</p>
-
-<h2>
-<a name="offline_windows_phone_8_quirks">Windows Phone 8 Quirks</a>
-</h2>
-
-<p>The Emulator reports the <a href="#connection%20type">connection type</a> as <code>Cellular</code>, which does not change, so the event does <em>not</em> fire.</p>
-
-<hr>
<h1><a name="backbutton">backbutton</a></h1>
<p>The event fires when the user presses the back button.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#backbutton">backbutton</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#backbutton">backbutton</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -839,7 +541,7 @@ function onOffline() {
<p>To override the default back-button behavior, register an event
listener for the <code><a href="cordova_events_events.md.html#backbutton">backbutton</a></code> event, typically by calling
-<code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> once you receive the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event.
+<code>document.addEventListener</code> once you receive the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event.
It is no longer necessary to call any other method to override the
back-button behavior.</p>
@@ -857,7 +559,7 @@ back-button behavior.</p>
<a name="backbutton_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#backbutton">backbutton</a>", onBackKeyDown, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#backbutton">backbutton</a>", onBackKeyDown, false);
function onBackKeyDown() {
// Handle the back button
@@ -879,14 +581,14 @@ function onBackKeyDown() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
// Register the event listener
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#backbutton">backbutton</a>", onBackKeyDown, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#backbutton">backbutton</a>", onBackKeyDown, false);
}
// Handle the back button
@@ -902,276 +604,11 @@ function onBackKeyDown() {
</code></pre>
<hr>
-<h1><a name="batterycritical">batterycritical</a></h1>
-
-<p>The event fires when the battery has reached the critical level
-threshold.</p>
-
-<pre class="prettyprint"><code>window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterycritical">batterycritical</a>", yourCallbackFunction, false);
-</code></pre>
-
-<h2>
-<a name="batterycritical_details">Details</a>
-</h2>
-
-<p>The event fires when the percentage of battery charge has reached the
-critical battery threshold. The value is device-specific.</p>
-
-<p>The <code><a href="cordova_events_events.md.html#batterycritical">batterycritical</a></code> handler is passed an object that contains two
-properties:</p>
-
-<ul>
-<li><p><strong>level</strong>: The percentage of battery charge (0-100). <em>(Number)</em></p></li>
-<li><p><strong>isPlugged</strong>: A boolean that indicates whether the device is plugged in. <em>(Boolean)</em></p></li>
-</ul>
-<p>Applications typically should use <code>window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to attach
-an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
-
-<h2>
-<a name="batterycritical_supported_platforms">Supported Platforms</a>
-</h2>
-
-<ul>
-<li>Amazon Fire OS</li>
-<li>iOS</li>
-<li>Android</li>
-<li>BlackBerry 10</li>
-<li>Tizen</li>
-</ul>
-<h2>
-<a name="batterycritical_quick_example">Quick Example</a>
-</h2>
-
-<pre class="prettyprint"><code>window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterycritical">batterycritical</a>", onBatteryCritical, false);
-
-function onBatteryCritical(info) {
- // Handle the battery critical event
- alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
-}
-</code></pre>
-
-<h2>
-<a name="batterycritical_full_example">Full Example</a>
-</h2>
-
-<pre class="prettyprint"><code><!DOCTYPE html>
-<html>
- <head>
- <title>Battery Critical Example</title>
-
- <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
- <script type="text/javascript" charset="utf-8">
-
- // Wait for device API libraries to load
- //
- function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
- }
-
- // device APIs are available
- //
- function onDeviceReady() {
- window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterycritical">batterycritical</a>", onBatteryCritical, false);
- }
-
- // Handle the <a href="cordova_events_events.md.html#batterycritical">batterycritical</a> event
- //
- function onBatteryCritical(info) {
- alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
- }
-
- </script>
- </head>
- <body onload="onLoad()">
- </body>
-</html>
-</code></pre>
-
-<hr>
-<h1><a name="batterylow">batterylow</a></h1>
-
-<p>The event fires when the battery has reached the low level threshold.</p>
-
-<pre class="prettyprint"><code>window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterylow">batterylow</a>", yourCallbackFunction, false);
-</code></pre>
-
-<h2>
-<a name="batterylow_details">Details</a>
-</h2>
-
-<p>The event fires when the percentage of battery charge has reached the
-low battery threshold, device-specific value.</p>
-
-<p>The <code><a href="cordova_events_events.md.html#batterylow">batterylow</a></code> handler is passed an object that contains two
-properties:</p>
-
-<ul>
-<li><p><strong>level</strong>: The percentage of battery charge (0-100). <em>(Number)</em></p></li>
-<li><p><strong>isPlugged</strong>: A boolean that indicates whether the device is plugged in. <em>(Boolean)</em></p></li>
-</ul>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
-attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
-
-<h2>
-<a name="batterylow_supported_platforms">Supported Platforms</a>
-</h2>
-
-<ul>
-<li>Amazon Fire OS</li>
-<li>iOS</li>
-<li>Android</li>
-<li>BlackBerry 10</li>
-<li>Tizen</li>
-</ul>
-<h2>
-<a name="batterylow_quick_example">Quick Example</a>
-</h2>
-
-<pre class="prettyprint"><code>window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterylow">batterylow</a>", onBatteryLow, false);
-
-function onBatteryLow(info) {
- // Handle the battery low event
- alert("Battery Level Low " + info.level + "%");
-}
-</code></pre>
-
-<h2>
-<a name="batterylow_full_example">Full Example</a>
-</h2>
-
-<pre class="prettyprint"><code><!DOCTYPE html>
-<html>
- <head>
- <title><a href="cordova_device_device.md.html#Device">Device</a> Ready Example</title>
-
- <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
- <script type="text/javascript" charset="utf-8">
-
- // Wait for device API libraries to load
- //
- function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
- }
-
- // device APIs are available
- //
- function onDeviceReady() {
- window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterylow">batterylow</a>", onBatteryLow, false);
- }
-
- // Handle the <a href="cordova_events_events.md.html#batterylow">batterylow</a> event
- //
- function onBatteryLow(info) {
- alert("Battery Level Low " + info.level + "%");
- }
-
- </script>
- </head>
- <body onload="onLoad()">
- </body>
-</html>
-</code></pre>
-
-<hr>
-<h1><a name="batterystatus">batterystatus</a></h1>
-
-<p>The event fires when there is a change in the battery status.</p>
-
-<pre class="prettyprint"><code>window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterystatus">batterystatus</a>", yourCallbackFunction, false);
-</code></pre>
-
-<h2>
-<a name="batterystatus_details">Details</a>
-</h2>
-
-<p>This event fires when the percentage of battery charge changes by at
-least 1 percent, or if the device is plugged in or unplugged.</p>
-
-<p>The battery status handler is passed an object that contains two
-properties:</p>
-
-<ul>
-<li><p><strong>level</strong>: The percentage of battery charge (0-100). <em>(Number)</em></p></li>
-<li><p><strong>isPlugged</strong>: A boolean that indicates whether the device is plugged in. <em>(Boolean)</em></p></li>
-</ul>
-<p>Applications typically should use <code>window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
-attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
-
-<h2>
-<a name="batterystatus_supported_platforms">Supported Platforms</a>
-</h2>
-
-<ul>
-<li>Amazon Fire OS</li>
-<li>iOS</li>
-<li>Android</li>
-<li>BlackBerry 10</li>
-<li>Windows Phone 7 and 8</li>
-<li>Tizen</li>
-</ul>
-<h2>
-<a name="batterystatus_windows_phone_7_and_8_quirks">Windows Phone 7 and 8 Quirks</a>
-</h2>
-
-<p>Windows Phone 7 does not provide native APIs to determine battery
-level, so the <code>level</code> property is unavailable. The <code>isPlugged</code>
-parameter <em>is</em> supported.</p>
-
-<h2>
-<a name="batterystatus_quick_example">Quick Example</a>
-</h2>
-
-<pre class="prettyprint"><code>window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterystatus">batterystatus</a>", onBatteryStatus, false);
-
-function onBatteryStatus(info) {
- // Handle the <a href="cordova_events_events.md.html#online">online</a> event
- console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
-}
-</code></pre>
-
-<h2>
-<a name="batterystatus_full_example">Full Example</a>
-</h2>
-
-<pre class="prettyprint"><code><!DOCTYPE html>
-<html>
- <head>
- <title><a href="cordova_device_device.md.html#Device">Device</a> Ready Example</title>
-
- <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
- <script type="text/javascript" charset="utf-8">
-
- // Wait for device API libraries to load
- //
- function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
- }
-
- // device APIs are available
- //
- function onDeviceReady() {
- window.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#batterystatus">batterystatus</a>", onBatteryStatus, false);
- }
-
- // Handle the <a href="cordova_events_events.md.html#batterystatus">batterystatus</a> event
- //
- function onBatteryStatus(info) {
- console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
- }
-
- </script>
- </head>
- <body onload="onLoad()">
- </body>
-</html>
-</code></pre>
-
-<hr>
<h1><a name="menubutton">menubutton</a></h1>
<p>The event fires when the user presses the menu button.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#menubutton">menubutton</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#menubutton">menubutton</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -1180,7 +617,7 @@ function onBatteryStatus(info) {
<p>Applying an event handler overrides the default menu button behavior.</p>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
+<p>Applications typically should use <code>document.addEventListener</code> to
attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
<h2>
@@ -1196,7 +633,7 @@ attach an event listener once the <code>
<a name="menubutton_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#menubutton">menubutton</a>", onMenuKeyDown, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#menubutton">menubutton</a>", onMenuKeyDown, false);
function onMenuKeyDown() {
// Handle the back button
@@ -1219,14 +656,14 @@ function onMenuKeyDown() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
// Register the event listener
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#menubutton">menubutton</a>", onMenuKeyDown, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#menubutton">menubutton</a>", onMenuKeyDown, false);
}
// Handle the menu button
@@ -1246,7 +683,7 @@ function onMenuKeyDown() {
<p>The event fires when the user presses the search button on Android.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#searchbutton">searchbutton</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#searchbutton">searchbutton</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -1256,7 +693,7 @@ function onMenuKeyDown() {
<p>If you need to override the default search button behavior on Android
you can register an event listener for the '<a href="cordova_events_events.md.html#searchbutton">searchbutton</a>' event.</p>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
+<p>Applications typically should use <code>document.addEventListener</code> to
attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
<h2>
@@ -1270,7 +707,7 @@ attach an event listener once the <code>
<a name="searchbutton_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#searchbutton">searchbutton</a>", onSearchKeyDown, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#searchbutton">searchbutton</a>", onSearchKeyDown, false);
function onSearchKeyDown() {
// Handle the search button
@@ -1293,14 +730,14 @@ function onSearchKeyDown() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
// Register the event listener
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#searchbutton">searchbutton</a>", onSearchKeyDown, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#searchbutton">searchbutton</a>", onSearchKeyDown, false);
}
// Handle the search button
@@ -1320,7 +757,7 @@ function onSearchKeyDown() {
<p>The event fires when the user presses the start call button.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -1330,7 +767,7 @@ function onSearchKeyDown() {
<p>If you need to override the default start call behavior you can
register an event listener for the <code><a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a></code> event.</p>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
+<p>Applications typically should use <code>document.addEventListener</code> to
attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
<h2>
@@ -1344,7 +781,7 @@ attach an event listener once the <code>
<a name="startcallbutton_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a>", onStartCallKeyDown, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a>", onStartCallKeyDown, false);
function onStartCallKeyDown() {
// Handle the start call button
@@ -1367,14 +804,14 @@ function onStartCallKeyDown() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
// Register the event listener
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a>", onStartCallKeyDown, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#startcallbutton">startcallbutton</a>", onStartCallKeyDown, false);
}
// Handle the start call button
@@ -1394,7 +831,7 @@ function onStartCallKeyDown() {
<p>This event fires when the user presses the end call button.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#endcallbutton">endcallbutton</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#endcallbutton">endcallbutton</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -1403,7 +840,7 @@ function onStartCallKeyDown() {
<p>The event overrides the default end call behavior.</p>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
+<p>Applications typically should use <code>document.addEventListener</code> to
attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
<h2>
@@ -1417,7 +854,7 @@ attach an event listener once the <code>
<a name="endcallbutton_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#endcallbutton">endcallbutton</a>", onEndCallKeyDown, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#endcallbutton">endcallbutton</a>", onEndCallKeyDown, false);
function onEndCallKeyDown() {
// Handle the end call button
@@ -1440,14 +877,14 @@ function onEndCallKeyDown() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
// Register the event listener
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#endcallbutton">endcallbutton</a>", onEndCallKeyDown, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#endcallbutton">endcallbutton</a>", onEndCallKeyDown, false);
}
// Handle the end call button
@@ -1467,7 +904,7 @@ function onEndCallKeyDown() {
<p>The event fires when the user presses the volume down button.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#volumedownbutton">volumedownbutton</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#volumedownbutton">volumedownbutton</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -1477,7 +914,7 @@ function onEndCallKeyDown() {
<p>If you need to override the default volume down behavior you can
register an event listener for the <code><a href="cordova_events_events.md.html#volumedownbutton">volumedownbutton</a></code> event.</p>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
+<p>Applications typically should use <code>document.addEventListener</code> to
attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
<h2>
@@ -1491,7 +928,7 @@ attach an event listener once the <code>
<a name="volumedownbutton_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#volumedownbutton">volumedownbutton</a>", onVolumeDownKeyDown, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#volumedownbutton">volumedownbutton</a>", onVolumeDownKeyDown, false);
function onVolumeDownKeyDown() {
// Handle the volume down button
@@ -1514,14 +951,14 @@ function onVolumeDownKeyDown() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
// Register the event listener
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#volumedownbutton">volumedownbutton</a>", onVolumeDownKeyDown, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#volumedownbutton">volumedownbutton</a>", onVolumeDownKeyDown, false);
}
// Handle the volume down button
@@ -1541,7 +978,7 @@ function onVolumeDownKeyDown() {
<p>The event fires when the user presses the volume up button.</p>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a>", yourCallbackFunction, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a>", yourCallbackFunction, false);
</code></pre>
<h2>
@@ -1551,7 +988,7 @@ function onVolumeDownKeyDown() {
<p>If you need to override the default volume up behavior you can
register an event listener for the <code><a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a></code> event.</p>
-<p>Applications typically should use <code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a></code> to
+<p>Applications typically should use <code>document.addEventListener</code> to
attach an event listener once the <code><a href="cordova_events_events.md.html#deviceready">deviceready</a></code> event fires.</p>
<h2>
@@ -1565,7 +1002,7 @@ attach an event listener once the <code>
<a name="volumeupbutton_quick_example">Quick Example</a>
</h2>
-<pre class="prettyprint"><code>document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a>", onVolumeUpKeyDown, false);
+<pre class="prettyprint"><code>document.addEventListener("<a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a>", onVolumeUpKeyDown, false);
function onVolumeUpKeyDown() {
// Handle the volume up button
@@ -1588,14 +1025,14 @@ function onVolumeUpKeyDown() {
// Wait for device API libraries to load
//
function onLoad() {
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", onDeviceReady, false);
}
// device APIs are available
//
function onDeviceReady() {
// Register the event listener
- document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a>", onVolumeUpKeyDown, false);
+ document.addEventListener("<a href="cordova_events_events.md.html#volumeupbutton">volumeupbutton</a>", onVolumeUpKeyDown, false);
}
// Handle the volume up button
Added: cordova/site/public/docs/en/edge/cordova_plugins_pluginapis.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/cordova_plugins_pluginapis.md.html?rev=1552219&view=auto
==============================================================================
--- cordova/site/public/docs/en/edge/cordova_plugins_pluginapis.md.html (added)
+++ cordova/site/public/docs/en/edge/cordova_plugins_pluginapis.md.html Thu Dec 19 03:20:03 2013
@@ -0,0 +1,266 @@
+<!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="Chinese" value="zh">
+<option value="edge">edge</option>
+<option value="3.1.0">3.1.0</option>
+</optgroup>
+<optgroup label="English" value="en">
+<option selected value="edge">edge</option>
+<option value="3.3.0">3.3.0</option>
+<option value="3.2.0">3.2.0</option>
+<option value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<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.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr">
+<option value="edge">edge</option>
+<option value="3.1.0">3.1.0</option>
+</optgroup>
+<optgroup label="German" value="de">
+<option value="edge">edge</option>
+<option value="3.1.0">3.1.0</option>
+</optgroup>
+<optgroup label="Italian" value="it">
+<option value="edge">edge</option>
+<option value="3.1.0">3.1.0</option>
+</optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="3.1.0">3.1.0</option>
+<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="ko">
+<option value="edge">edge</option>
+<option value="3.1.0">3.1.0</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru">
+<option value="edge">edge</option>
+<option value="3.1.0">3.1.0</option>
+</optgroup>
+<optgroup label="Spanish" value="es">
+<option value="edge">edge</option>
+<option value="3.1.0">3.1.0</option>
+</optgroup></select></small>
+ </div>
+ <div id="subheader">
+ <h1>Plugin APIs</h1>
+ <small></small>
+ </div>
+
+ <div id="sidebar">
+ <div class="vertical_divider"></div>
+ <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_support_index.md.html#Platform%20Support">Platform Support</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="plugin_ref_plugman.md.html#Using%20Plugman%20to%20Manage%20Plugins">Using Plugman to Manage Plugins</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="config_ref_images.md.html#Icons%20and%20Splash%20Screens">Icons and Splash Screens</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Whitelist%20Guide">Whitelist Guide</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_plugins_pluginapis.md.html#Plugin%20APIs">Plugin APIs</a></li>
+</ul>
+</div>
+
+ <div id="scrollable">
+ <div id="content">
+ <h1><a name="Plugin%20APIs">Plugin APIs</a></h1>
+
+<p>Cordova ships with a minimal set of APIs, and projects add what extra APIs they require through plugins.</p>
+
+<p>You can search through all existing plugins using the <a class="external" href="http://plugins.cordova.io/">Plugin Registry</a>.</p>
+
+<p>The traditional set of Cordova plugins are as follows:</p>
+
+<ul>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-battery-status/blob/dev/doc/index.md">Battery Status</a></p>
+
+<blockquote>
+ <p>Monitor the status of the device's battery.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-camera/blob/dev/doc/index.md">Camera</a></p>
+
+<blockquote>
+ <p>Capture a photo using the device's camera.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-contacts/blob/dev/doc/index.md">Contacts</a></p>
+
+<blockquote>
+ <p>Work with the devices contact database.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-device/blob/dev/doc/index.md">Device</a></p>
+
+<blockquote>
+ <p>Gather device specific information.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-device-motion/blob/dev/doc/index.md">Device Motion (Accelerometer)</a></p>
+
+<blockquote>
+ <p>Tap into the device's motion sensor.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-device-orientation/blob/dev/doc/index.md">Device Orientation (Compass)</a></p>
+
+<blockquote>
+ <p>Obtain the direction that the device is pointing.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-dialogs/blob/dev/doc/index.md">Dialogs</a></p>
+
+<blockquote>
+ <p>Visual device notifications.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-file/blob/dev/doc/index.md">FileSystem</a></p>
+
+<blockquote>
+ <p>Hook into native file system through JavaScript.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-file-transfer/blob/dev/doc/index.md">File Transfer</a></p>
+
+<blockquote>
+ <p>Hook into native file system through JavaScript.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-geolocation/blob/dev/doc/index.md">Geolocation</a></p>
+
+<blockquote>
+ <p>Make your application location aware.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-globalization/blob/dev/doc/index.md">Globalization</a></p>
+
+<blockquote>
+ <p>Enable representation of objects specific to a locale.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-inappbrowser/blob/dev/doc/index.md">InAppBrowser</a></p>
+
+<blockquote>
+ <p>Launch URLs in another in-app browser instance.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-media/blob/dev/doc/index.md">Media</a></p>
+
+<blockquote>
+ <p>Record and play back audio files.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-media-capture/blob/dev/doc/index.md">Media Capture</a></p>
+
+<blockquote>
+ <p>Capture media files using device's media capture applications.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-network-information/blob/dev/doc/index.md">Network Information (Connection)</a></p>
+
+<blockquote>
+ <p>Quickly check the network state, and cellular network information.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-splashscreen/blob/dev/doc/index.md">Splashscreen</a></p>
+
+<blockquote>
+ <p>Show and hide the applications splash screen.</p>
+</blockquote>
+</li>
+<li>
+<p><a class="external" href="https://github.com/apache/cordova-plugin-vibration/blob/dev/doc/index.md">Vibration</a></p>
+
+<blockquote>
+ <p>An API to vibrate the device.</p>
+</blockquote>
+</li>
+</ul>
+<p>Non-English translations of these plugin docs can be found by looking at older versions of the Cordova documentation. Use the drop-down menu at the very top-right of this site to switch versions.</p>
+
+ </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>
Modified: cordova/site/public/docs/en/edge/cordova_storage_storage.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/cordova_storage_storage.md.html?rev=1552219&r1=1552218&r2=1552219&view=diff
==============================================================================
--- cordova/site/public/docs/en/edge/cordova_storage_storage.md.html (original)
+++ cordova/site/public/docs/en/edge/cordova_storage_storage.md.html Thu Dec 19 03:20:03 2013
@@ -118,26 +118,13 @@
<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
<li><a href="guide_appdev_whitelist_index.md.html#Whitelist%20Guide">Whitelist Guide</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
<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>
+<li><a href="cordova_plugins_pluginapis.md.html#Plugin%20APIs">Plugin APIs</a></li>
</ul>
</div>
@@ -201,10 +188,10 @@ than LocalStorage but fewer than WebSQL.
<a name="Storage_plugin_based_options">Plugin-Based Options</a>
</h2>
-<p>In addition to the storage APIs listed above, the <a href="cordova_file_file.md.html#File">File</a> API allows you
-to cache data on the local file system. Other
-<a class="external" href="http://plugins.cordova.io/">Cordova plugins</a> provide similar storage
-options.</p>
+<p>In addition to the storage APIs listed above, the
+<a class="external" href="https://github.com/apache/cordova-plugin-file/blob/master/doc/index.md">File API</a>
+allows you to cache data on the local file system. Other
+<a class="external" href="http://plugins.cordova.io/">Cordova plugins</a> provide similar storage options.</p>
</div>
</div>
Modified: cordova/site/public/docs/en/edge/guide_appdev_privacy_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/guide_appdev_privacy_index.md.html?rev=1552219&r1=1552218&r2=1552219&view=diff
==============================================================================
--- cordova/site/public/docs/en/edge/guide_appdev_privacy_index.md.html (original)
+++ cordova/site/public/docs/en/edge/guide_appdev_privacy_index.md.html Thu Dec 19 03:20:03 2013
@@ -114,26 +114,13 @@
<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
<li><a href="guide_appdev_whitelist_index.md.html#Whitelist%20Guide">Whitelist Guide</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
<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>
+<li><a href="cordova_plugins_pluginapis.md.html#Plugin%20APIs">Plugin APIs</a></li>
</ul>
</div>
Modified: cordova/site/public/docs/en/edge/guide_appdev_whitelist_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/guide_appdev_whitelist_index.md.html?rev=1552219&r1=1552218&r2=1552219&view=diff
==============================================================================
--- cordova/site/public/docs/en/edge/guide_appdev_whitelist_index.md.html (original)
+++ cordova/site/public/docs/en/edge/guide_appdev_whitelist_index.md.html Thu Dec 19 03:20:03 2013
@@ -121,26 +121,13 @@
<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
<li><a href="guide_appdev_whitelist_index.md.html#Whitelist%20Guide">Whitelist Guide</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
<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>
+<li><a href="cordova_plugins_pluginapis.md.html#Plugin%20APIs">Plugin APIs</a></li>
</ul>
</div>
Modified: cordova/site/public/docs/en/edge/guide_cli_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/guide_cli_index.md.html?rev=1552219&r1=1552218&r2=1552219&view=diff
==============================================================================
--- cordova/site/public/docs/en/edge/guide_cli_index.md.html (original)
+++ cordova/site/public/docs/en/edge/guide_cli_index.md.html Thu Dec 19 03:20:03 2013
@@ -101,8 +101,7 @@
<option value="The%20Command-Line%20Interface_create_the_app">Â Â Â Â Â Â - Create the App</option>
<option value="The%20Command-Line%20Interface_add_platforms">Â Â Â Â Â Â - Add Platforms</option>
<option value="The%20Command-Line%20Interface_build_the_app">Â Â Â Â Â Â - Build the App</option>
-<option value="The%20Command-Line%20Interface_test_the_app_on_an_emulator_or_device">Â Â Â Â Â Â - Test the App on an Emulator or Device
-</option>
+<option value="The%20Command-Line%20Interface_test_the_app_on_an_emulator_or_device">Â Â Â Â Â Â - Test the App on an Emulator or Device</option>
<option value="The%20Command-Line%20Interface_add_plugin_features">Â Â Â Â Â Â - Add Plugin Features</option>
<option value="The%20Command-Line%20Interface_advanced_plugin_options">Â Â Â Â Â Â - Advanced Plugin Options</option>
<option value="The%20Command-Line%20Interface_using_merges_to_customize_each_platform">Â Â Â Â Â Â - Using merges to Customize Each Platform</option>
@@ -125,26 +124,13 @@
<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
<li><a href="guide_appdev_whitelist_index.md.html#Whitelist%20Guide">Whitelist Guide</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
<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>
+<li><a href="cordova_plugins_pluginapis.md.html#Plugin%20APIs">Plugin APIs</a></li>
</ul>
</div>
@@ -350,8 +336,7 @@ Cordova generates within <code>platforms
approach with other platforms' SDKs.</p>
<h2>
-<a name="The%20Command-Line%20Interface_test_the_app_on_an_emulator_or_device">Test the App on an Emulator or Device
-</a>
+<a name="The%20Command-Line%20Interface_test_the_app_on_an_emulator_or_device">Test the App on an Emulator or Device</a>
</h2>
<p>SDKs for mobile platforms often come bundled with emulators that
@@ -439,20 +424,20 @@ multiple times for each platform.)</p>
<ul>
<li>
-<p>Basic device information (<a href="cordova_device_device.md.html#Device">Device</a> API):</p>
+<p>Basic device information (Device API):</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.device
</code></pre>
</li>
<li>
-<p>Network <a href="cordova_connection_connection.md.html#Connection">Connection</a> and Battery <a href="cordova_events_events.md.html#Events">Events</a>:</p>
+<p>Network Connection and Battery <a href="cordova_events_events.md.html#Events">Events</a>:</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.network-information
$ cordova plugin add org.apache.cordova.battery-status
</code></pre>
</li>
<li>
-<p><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a>, <a href="cordova_compass_compass.md.html#Compass">Compass</a>, and <a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a>:</p>
+<p>Accelerometer, Compass, and Geolocation:</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.device-motion
$ cordova plugin add org.apache.cordova.device-orientation
@@ -460,7 +445,7 @@ $ cordova plugin add org.apache.cordova.
</code></pre>
</li>
<li>
-<p><a href="cordova_camera_camera.md.html#Camera">Camera</a>, <a href="cordova_media_media.md.html#Media">Media</a> playback and <a href="cordova_media_capture_capture.md.html#Capture">Capture</a>:</p>
+<p>Camera, Media playback and Capture:</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.camera
$ cordova plugin add org.apache.cordova.media-capture
@@ -468,39 +453,39 @@ $ cordova plugin add org.apache.cordova.
</code></pre>
</li>
<li>
-<p>Access files on device or network (<a href="cordova_file_file.md.html#File">File</a> API):</p>
+<p>Access files on device or network (File API):</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.file
$ cordova plugin add org.apache.cordova.file-transfer
</code></pre>
</li>
<li>
-<p><a href="cordova_notification_notification.md.html#Notification">Notification</a> via dialog box or vibration:</p>
+<p>Notification via dialog box or vibration:</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.dialogs
$ cordova plugin add org.apache.cordova.vibration
</code></pre>
</li>
<li>
-<p><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a>:</p>
+<p>Contacts:</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.contacts
</code></pre>
</li>
<li>
-<p><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a>:</p>
+<p>Globalization:</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.globalization
</code></pre>
</li>
<li>
-<p><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a>:</p>
+<p>Splashscreen:</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.splashscreen
</code></pre>
</li>
<li>
-<p>Open new browser windows (<a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a>):</p>
+<p>Open new browser windows (InAppBrowser):</p>
<pre class="prettyprint"><code>$ cordova plugin add org.apache.cordova.inappbrowser
</code></pre>
Modified: cordova/site/public/docs/en/edge/guide_hybrid_plugins_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/guide_hybrid_plugins_index.md.html?rev=1552219&r1=1552218&r2=1552219&view=diff
==============================================================================
--- cordova/site/public/docs/en/edge/guide_hybrid_plugins_index.md.html (original)
+++ cordova/site/public/docs/en/edge/guide_hybrid_plugins_index.md.html Thu Dec 19 03:20:03 2013
@@ -120,26 +120,13 @@
<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
<li><a href="guide_appdev_whitelist_index.md.html#Whitelist%20Guide">Whitelist Guide</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
<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>
+<li><a href="cordova_plugins_pluginapis.md.html#Plugin%20APIs">Plugin APIs</a></li>
</ul>
</div>
@@ -176,7 +163,7 @@ for guidance.</p>
<p>Application developers use the CLI's <code>plugin add</code> command (discussed
in <a href="guide_cli_index.md.html#The%20Command-Line%20Interface">The Command-Line Interface</a>) to apply a plugin to a project. The
argument to that command is the URL for a <em>git</em> repository containing
-the plugin code. This example implements Cordova's <a href="cordova_device_device.md.html#Device">Device</a> API:</p>
+the plugin code. This example implements Cordova's Device API:</p>
<pre class="prettyprint"><code> $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
</code></pre>
@@ -184,13 +171,13 @@ the plugin code. This example implement
<p>The plugin repository must feature a top-level <code>plugin.xml</code> manifest
file. There are many ways to configure this file, details for which
are available in the <a href="plugin_ref_spec.md.html#Plugin%20Specification">Plugin Specification</a>. This abbreviated version of
-the <code><a href="cordova_device_device.md.html#Device">Device</a></code> plugin provides a simple example to use as a model:</p>
+the <code>Device</code> plugin provides a simple example to use as a model:</p>
<pre class="prettyprint"><code> <?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="org.apache.cordova.device" version="0.2.3">
- <name><a href="cordova_device_device.md.html#Device">Device</a></name>
- <description>Cordova <a href="cordova_device_device.md.html#Device">Device</a> Plugin</description>
+ <name>Device</name>
+ <description>Cordova Device Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,device</keywords>
<js-module src="www/device.js" name="device">
@@ -198,7 +185,7 @@ the <code><a href="cordova_device_device
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
- <feature name="<a href="cordova_device_device.md.html#Device">Device</a>">
+ <feature name="Device">
<param name="ios-package" value="CDVDevice"/>
</feature>
</config-file>
Modified: cordova/site/public/docs/en/edge/guide_hybrid_webviews_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/edge/guide_hybrid_webviews_index.md.html?rev=1552219&r1=1552218&r2=1552219&view=diff
==============================================================================
--- cordova/site/public/docs/en/edge/guide_hybrid_webviews_index.md.html (original)
+++ cordova/site/public/docs/en/edge/guide_hybrid_webviews_index.md.html Thu Dec 19 03:20:03 2013
@@ -114,26 +114,13 @@
<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
<li><a href="guide_appdev_whitelist_index.md.html#Whitelist%20Guide">Whitelist Guide</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
<li><a href="_index.html">Keyword Index</a></li>
</ul>
<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>
+<li><a href="cordova_plugins_pluginapis.md.html#Plugin%20APIs">Plugin APIs</a></li>
</ul>
</div>