cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [5/7] CB-5658 Delete plugin API reference in favour of links to github doc/index.md files
Date Thu, 19 Dec 2013 03:01:15 GMT
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/device/device.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/device/device.md b/docs/en/edge/cordova/device/device.md
deleted file mode 100644
index 427a251..0000000
--- a/docs/en/edge/cordova/device/device.md
+++ /dev/null
@@ -1,94 +0,0 @@
----
- license: 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.
----
-
-# Device
-
-> The `device` object describes the device's hardware and software.
-
-## Properties
-
-- device.model
-- device.cordova
-- device.platform
-- device.uuid
-- device.version
-- device.name
-
-## Variable Scope
-
-Since `device` is assigned to the `window` object, it is implicitly in the global scope.
-
-    // These reference the same `device`
-    var phoneModel = window.device.model;
-    var phoneModel = device.model;
-
-## Accessing the Feature
-
-As of version 3.0, Cordova implements device-level APIs as _plugins_.
-Use the CLI's `plugin` command, described in The Command-Line
-Interface, to add or remove this feature for a project:
-
-        $ cordova plugin add org.apache.cordova.device
-        $ cordova plugin ls
-        [ 'org.apache.cordova.device' ]
-        $ cordova plugin rm org.apache.cordova.device
-
-These commands apply to all targeted platforms, but modify the
-platform-specific configuration settings described below:
-
-* Amazon Fire OS
-
-        (in app/res/xml/config.xml)
-        <feature name="Device">
-            <param name="android-package" value="org.apache.cordova.device.Device" />
-        </feature>
-
-* Android
-
-        (in app/res/xml/config.xml)
-        <feature name="Device">
-            <param name="android-package" value="org.apache.cordova.device.Device" />
-        </feature>
-
-* BlackBerry 10
-
-        (in www/config.xml)
-        <feature name="Device" value="Device"/>
-        <rim:permissions>
-            <rim:permit>read_device_identifying_information</rim:permit>
-        </rim:permissions>
-
-* Windows Phone (in `Properties/WPAppManifest.xml`)
-
-        <Capabilities>
-            <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
-            <Capability Name="ID_CAP_IDENTITY_DEVICE" />
-            <Capability Name="ID_CAP_IDENTITY_USER" />
-        </Capabilities>
-
-  Reference: [Application Manifest for Windows Phone](http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx)
-
-* Tizen (in `config.xml`)
-
-        <feature name="http://tizen.org/api/systeminfo" required="true"/>
-
-  Reference: [Application Manifest for Tizen Web Application](https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures)
-
-Some platforms may support this feature without requiring any special
-configuration.  See Platform Support for an overview.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/device/device.model.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/device/device.model.md b/docs/en/edge/cordova/device/device.model.md
deleted file mode 100644
index ec5d31f..0000000
--- a/docs/en/edge/cordova/device/device.model.md
+++ /dev/null
@@ -1,92 +0,0 @@
----
- license: 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.
----
-
-# device.model
-
-Get the device's model name.
-
-    var string = device.model;
-
-## Description
-
-The `device.model` returns the name of the device's model or
-product. The value is set by the device manufacturer and may be
-different across versions of the same product.
-
-## Supported Platforms
-
-- Android
-- BlackBerry 10
-- iOS
-- Tizen
-- Windows Phone 7 and 8
-- Windows 8
-
-## Quick Example
-
-    // Android:    Nexus One       returns "Passion" (Nexus One code name)
-    //             Motorola Droid  returns "voles"
-    // BlackBerry: Torch 9800      returns "9800"
-    // iOS:     for the iPad Mini, returns iPad2,5; iPhone 5 is iPhone 5,1. See http://theiphonewiki.com/wiki/index.php?title=Models
-    //
-    var model = device.model;
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties 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
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            var element = document.getElementById('deviceProperties');
-            element.innerHTML = 'Device Model: '    + device.model    + '<br />' +
-                                'Device Cordova: '  + device.cordova  + '<br />' +
-                                'Device Platform: ' + device.platform + '<br />' +
-                                'Device UUID: '     + device.uuid     + '<br />' +
-                                'Device Version: '  + device.version  + '<br />';
-        }
-
-        </script>
-      </head>
-      <body>
-        <p id="deviceProperties">Loading device properties...</p>
-      </body>
-    </html>
-
-## Android Quirks
-
-- Gets the [product name](http://developer.android.com/reference/android/os/Build.html#PRODUCT) instead of the [model name](http://developer.android.com/reference/android/os/Build.html#MODEL), which is often the production code name. For example, the Nexus One returns `Passion`, and Motorola Droid returns `voles`.
-
-## Tizen Quirks
-
-- Returns the device model assigned by the vendor, for example, `TIZEN`
-
-## Windows Phone 7 and 8 Quirks
-
-- Returns the device model specified by the manufacturer. For example, the Samsung Focus returns `SGH-i917`.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/device/device.name.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/device/device.name.md b/docs/en/edge/cordova/device/device.name.md
deleted file mode 100644
index bfccd59..0000000
--- a/docs/en/edge/cordova/device/device.name.md
+++ /dev/null
@@ -1,95 +0,0 @@
----
- license: 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.
----
-
-# device.name
-
-__WARNING__: `device.name` is deprecated as of version 2.3.0. Use `device.model` instead.
-
-Get the device's model name.
-
-    var string = device.name;
-
-## Description
-
-`device.name` returns the name of the device's model or product. This
-value is set by the device manufacturer and may be different across
-versions of the same product.
-
-## Supported Platforms
-
-- Android
-- BlackBerry 10
-- iOS
-- Tizen
-- Windows Phone 7 and 8
-- Windows 8
-
-## Quick Example
-
-    // Android:    Nexus One       returns "Passion" (Nexus One code name)
-    //             Motorola Droid  returns "voles"
-    // BlackBerry: Torch 9800      returns "9800"
-    // iOS:     All devices     returns either "iPhone", "iPod Touch", "iPhone Simulator", "iPad", "iPad Simulator"
-    //
-    var name = device.name;
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties 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
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            var element = document.getElementById('deviceProperties');
-            element.innerHTML = 'Device Name: '     + device.name     + '<br />' +
-                                'Device Model: '    + device.model    + '<br />' +
-                                'Device Cordova: '  + device.cordova  + '<br />' +
-                                'Device Platform: ' + device.platform + '<br />' +
-                                'Device UUID: '     + device.uuid     + '<br />' +
-                                'Device Version: '  + device.version  + '<br />';
-        }
-
-        </script>
-      </head>
-      <body>
-        <p id="deviceProperties">Loading device properties...</p>
-      </body>
-    </html>
-
-## Android Quirks
-
-- Gets the [product name](http://developer.android.com/reference/android/os/Build.html#PRODUCT) instead of the [model name](http://developer.android.com/reference/android/os/Build.html#MODEL), which is often the production code name. For example, the Nexus One returns `Passion`, and Motorola Droid returns `voles`.
-
-## Windows Phone 7 and 8 Quirks
-
-- Returns the device model specified by the manufacturer. For example, the Samsung Focus returns `SGH-i917`.
-
-## Tizen Quirks
-
-- Returns the device model assigned by the vendor, for example, `TIZEN`

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/device/device.platform.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/device/device.platform.md b/docs/en/edge/cordova/device/device.platform.md
deleted file mode 100644
index 52b50a5..0000000
--- a/docs/en/edge/cordova/device/device.platform.md
+++ /dev/null
@@ -1,83 +0,0 @@
----
- license: 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.
----
-
-# device.platform
-
-Get the device's operating system name.
-
-    var string = device.platform;
-
-## Supported Platforms
-
-- Android
-- BlackBerry 10
-- iOS
-- Tizen
-- Windows Phone 7 and 8
-- Windows 8
-
-## Quick Example
-
-    // Depending on the device, a few examples are:
-    //   - "Android"
-    //   - "BlackBerry 10"
-    //   - "iOS"
-    //   - "WinCE"
-    //   - "Tizen"
-    var devicePlatform = device.platform;
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties 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
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            var element = document.getElementById('deviceProperties');
-            element.innerHTML = 'Device Model: '    + device.model    + '<br />' +
-                                'Device Cordova: '  + device.cordova  + '<br />' +
-                                'Device Platform: ' + device.platform + '<br />' +
-                                'Device UUID: '     + device.uuid     + '<br />' +
-                                'Device Version: '  + device.version  + '<br />';
-        }
-
-        </script>
-      </head>
-      <body>
-        <p id="deviceProperties">Loading device properties...</p>
-      </body>
-    </html>
-
-## Windows Phone 7 Quirks
-
-Windows Phone 7 devices report the platform as `WinCE`.
-
-## Windows Phone 8 Quirks
-
-Windows Phone 8 devices report the platform as `Win32NT`.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/device/device.uuid.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/device/device.uuid.md b/docs/en/edge/cordova/device/device.uuid.md
deleted file mode 100644
index a8b2336..0000000
--- a/docs/en/edge/cordova/device/device.uuid.md
+++ /dev/null
@@ -1,103 +0,0 @@
----
- license: 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.
----
-
-# device.uuid
-
-Get the device's Universally Unique Identifier ([UUID](http://en.wikipedia.org/wiki/Universally_Unique_Identifier)).
-
-    var string = device.uuid;
-
-## Description
-
-The details of how a UUID is generated are determined by the device manufacturer and are specific to the device's platform or model.
-
-## Supported Platforms
-
-- Android
-- BlackBerry 10
-- iOS
-- Tizen
-- Windows Phone 7 and 8
-- Windows 8
-
-## Quick Example
-
-    // Android: Returns a random 64-bit integer (as a string, again!)
-    //          The integer is generated on the device's first boot
-    //
-    // BlackBerry: Returns the PIN number of the device
-    //             This is a nine-digit unique integer (as a string, though!)
-    //
-    // iPhone: (Paraphrased from the UIDevice Class documentation)
-    //         Returns a string of hash values created from multiple hardware identifies.
-    //         It is guaranteed to be unique for every device and can't be tied
-    //         to the user account.
-    // Windows Phone 7 : Returns a hash of device+current user,
-    // if the user is not defined, a guid is generated and will persist until the app is uninstalled
-    // Tizen: returns the device IMEI (International Mobile Equipment Identity or IMEI is a number
-    // unique to every GSM and UMTS mobile phone.
-    var deviceID = device.uuid;
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties 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
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            var element = document.getElementById('deviceProperties');
-            element.innerHTML = 'Device Model: '    + device.model    + '<br />' +
-                                'Device Cordova: '  + device.cordova  + '<br />' +
-                                'Device Platform: ' + device.platform + '<br />' +
-                                'Device UUID: '     + device.uuid     + '<br />' +
-                                'Device Version: '  + device.version  + '<br />';
-        }
-
-        </script>
-      </head>
-      <body>
-        <p id="deviceProperties">Loading device properties...</p>
-      </body>
-    </html>
-
-## iOS Quirk
-
-The `uuid` on iOS is not unique to a device, but varies for each
-application, for each installation.  It changes if you delete and
-re-install the app, and possibly also when you upgrade iOS, or even
-upgrade the app per version (apparent in iOS 5.1). The `uuid` is not
-a reliable value.
-
-## Windows Phone 7 and 8 Quirks
-
-The `uuid` for Windows Phone 7 requires the permission
-`ID_CAP_IDENTITY_DEVICE`.  Microsoft will likely deprecate this
-property soon.  If the capability is not available, the application
-generates a persistent guid that is maintained for the duration of the
-application's installation on the device.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/device/device.version.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/device/device.version.md b/docs/en/edge/cordova/device/device.version.md
deleted file mode 100644
index a3631d5..0000000
--- a/docs/en/edge/cordova/device/device.version.md
+++ /dev/null
@@ -1,79 +0,0 @@
----
- license: 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.
----
-
-# device.version
-
-Get the operating system version.
-
-    var string = device.version;
-
-## Supported Platforms
-
-- Android 2.1+
-- BlackBerry 10
-- iOS
-- Tizen
-- Windows Phone 7 and 8
-- Windows 8
-
-## Quick Example
-
-    // Android:    Froyo OS would return "2.2"
-    //             Eclair OS would return "2.1", "2.0.1", or "2.0"
-    //             Version can also return update level "2.1-update1"
-    //
-    // BlackBerry: Torch 9800 using OS 6.0 would return "6.0.0.600"
-    //
-    // iPhone:     iOS 3.2 returns "3.2"
-    //
-    // Windows Phone 7: returns current OS version number, ex. on Mango returns 7.10.7720
-    // Tizen: returns "TIZEN_20120425_2"
-    var deviceVersion = device.version;
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties 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
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            var element = document.getElementById('deviceProperties');
-            element.innerHTML = 'Device Model: '    + device.model    + '<br />' +
-                                'Device Cordova: '  + device.cordova  + '<br />' +
-                                'Device Platform: ' + device.platform + '<br />' +
-                                'Device UUID: '     + device.uuid     + '<br />' +
-                                'Device Version: '  + device.version  + '<br />';
-        }
-
-        </script>
-      </head>
-      <body>
-        <p id="deviceProperties">Loading device properties...</p>
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/events/events.batterycritical.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/events/events.batterycritical.md b/docs/en/edge/cordova/events/events.batterycritical.md
deleted file mode 100644
index b077748..0000000
--- a/docs/en/edge/cordova/events/events.batterycritical.md
+++ /dev/null
@@ -1,91 +0,0 @@
----
- license: 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.
----
-
-# batterycritical
-
-The event fires when the battery has reached the critical level
-threshold.
-
-    window.addEventListener("batterycritical", yourCallbackFunction, false);
-
-## Details
-
-The event fires when the percentage of battery charge has reached the
-critical battery threshold. The value is device-specific.
-
-The `batterycritical` handler is passed an object that contains two
-properties:
-
-- __level__: The percentage of battery charge (0-100). _(Number)_
-
-- __isPlugged__: A boolean that indicates whether the device is plugged in. _(Boolean)_
-
-Applications typically should use `window.addEventListener` to attach
-an event listener once the `deviceready` event fires.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- iOS
-- Android
-- BlackBerry 10
-- Tizen
-
-## Quick Example
-
-    window.addEventListener("batterycritical", onBatteryCritical, false);
-
-    function onBatteryCritical(info) {
-        // Handle the battery critical event
-        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
-    }
-
-## Full Example
-
-    <!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.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            window.addEventListener("batterycritical", onBatteryCritical, false);
-        }
-
-        // Handle the batterycritical event
-        //
-        function onBatteryCritical(info) {
-            alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
-        }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/events/events.batterylow.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/events/events.batterylow.md b/docs/en/edge/cordova/events/events.batterylow.md
deleted file mode 100644
index 760000e..0000000
--- a/docs/en/edge/cordova/events/events.batterylow.md
+++ /dev/null
@@ -1,90 +0,0 @@
----
- license: 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.
----
-
-# batterylow
-
-The event fires when the battery has reached the low level threshold.
-
-    window.addEventListener("batterylow", yourCallbackFunction, false);
-
-## Details
-
-The event fires when the percentage of battery charge has reached the
-low battery threshold, device-specific value.
-
-The `batterylow` handler is passed an object that contains two
-properties:
-
-- __level__: The percentage of battery charge (0-100). _(Number)_
-
-- __isPlugged__: A boolean that indicates whether the device is plugged in. _(Boolean)_
-
-Applications typically should use `document.addEventListener` to
-attach an event listener once the `deviceready` event fires.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- iOS
-- Android
-- BlackBerry 10
-- Tizen
-
-## Quick Example
-
-    window.addEventListener("batterylow", onBatteryLow, false);
-
-    function onBatteryLow(info) {
-        // Handle the battery low event
-        alert("Battery Level Low " + info.level + "%");
-    }
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device 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.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            window.addEventListener("batterylow", onBatteryLow, false);
-        }
-
-        // Handle the batterylow event
-        //
-        function onBatteryLow(info) {
-            alert("Battery Level Low " + info.level + "%");
-        }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/events/events.batterystatus.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/events/events.batterystatus.md b/docs/en/edge/cordova/events/events.batterystatus.md
deleted file mode 100644
index e3ac02f..0000000
--- a/docs/en/edge/cordova/events/events.batterystatus.md
+++ /dev/null
@@ -1,97 +0,0 @@
----
-  license: 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.
----
-
-# batterystatus
-
-The event fires when there is a change in the battery status.
-
-    window.addEventListener("batterystatus", yourCallbackFunction, false);
-
-## Details
-
-This event fires when the percentage of battery charge changes by at
-least 1 percent, or if the device is plugged in or unplugged.
-
-The battery status handler is passed an object that contains two
-properties:
-
-- __level__: The percentage of battery charge (0-100). _(Number)_
-
-- __isPlugged__: A boolean that indicates whether the device is plugged in. _(Boolean)_
-
-Applications typically should use `window.addEventListener` to
-attach an event listener once the `deviceready` event fires.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- iOS
-- Android
-- BlackBerry 10
-- Windows Phone 7 and 8
-- Tizen
-
-## Windows Phone 7 and 8 Quirks
-
-Windows Phone 7 does not provide native APIs to determine battery
-level, so the `level` property is unavailable.  The `isPlugged`
-parameter _is_ supported.
-
-## Quick Example
-
-    window.addEventListener("batterystatus", onBatteryStatus, false);
-
-    function onBatteryStatus(info) {
-        // Handle the online event
-        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
-    }
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device 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.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            window.addEventListener("batterystatus", onBatteryStatus, false);
-        }
-
-        // Handle the batterystatus event
-        //
-        function onBatteryStatus(info) {
-            console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
-        }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/events/events.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/events/events.md b/docs/en/edge/cordova/events/events.md
index 91a1648..ed7984c 100644
--- a/docs/en/edge/cordova/events/events.md
+++ b/docs/en/edge/cordova/events/events.md
@@ -26,12 +26,7 @@
 - deviceready
 - pause
 - resume
-- online
-- offline
 - backbutton
-- batterycritical
-- batterylow
-- batterystatus
 - menubutton
 - searchbutton
 - startcallbutton
@@ -39,59 +34,14 @@
 - volumedownbutton
 - volumeupbutton
 
-## Accessing the Feature
-
-As of version 3.0, Cordova implements battery status and other
-device-level APIs as _plugins_. Access to all other events not related
-to battery status are enabled by default.  Use the CLI's `plugin`
-command, described in The Command-Line Interface, to enable or disable
-battery events:
-
-        $ cordova plugin add org.apache.cordova.battery-status
-        $ cordova plugin ls
-        [ 'org.apache.cordova.battery-status' ]
-        $ cordova plugin rm org.apache.cordova.battery-status
-
-These commands apply to all targeted platforms, but modify the
-platform-specific configuration settings described below:
-
-* Amazon Fire OS
-
-        (in app/res/xml/config.xml)
-        <feature name="Battery">
-            <param name="android-package" value="org.apache.cordova.batterystatus.BatteryListener" />
-        </feature>
-
-* Android
+## Events added by [org.apache.cordova.battery-status](https://github.com/apache/cordova-plugin-battery-status/blob/master/doc/index.md)
 
-        (in app/res/xml/config.xml)
-        <feature name="Battery">
-            <param name="android-package" value="org.apache.cordova.batterystatus.BatteryListener" />
-        </feature>
-
-* BlackBerry 10
-
-        (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" />
-
-* iOS (in the named application directory's `config.xml`)
-
-        <feature name="Battery">
-            <param name="ios-package" value="CDVBattery" />
-        </feature>
-
-* Tizen (in `config.xml`)
+- batterycritical
+- batterylow
+- batterystatus
 
-        <feature name="http://tizen.org/api/systeminfo" required="true"/>
+## Events added by [org.apache.cordova.network-information](https://github.com/apache/cordova-plugin-network-information/blob/master/doc/index.md)
 
-  Reference: [Application Manifest for Tizen Web Application](https://developer.tizen.org/help/topic/org.tizen.help.gs/Creating%20a%20Project.html?path=0_1_1_3#8814682_CreatingaProject-EditingconfigxmlFeatures)
+- online
+- offline
 
-Some platforms may support this feature without requiring any special
-configuration.  See Platform Support for an overview.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/events/events.offline.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/events/events.offline.md b/docs/en/edge/cordova/events/events.offline.md
deleted file mode 100644
index 5ea6fbf..0000000
--- a/docs/en/edge/cordova/events/events.offline.md
+++ /dev/null
@@ -1,99 +0,0 @@
----
-license: 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.
----
-
-# offline
-
-The event fires when an application goes offline, and the device is
-not connected to the Internet.
-
-    document.addEventListener("offline", yourCallbackFunction, false);
-
-## Details
-
-The `offline` 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 Connection API,
-and fires when the `connection.type` changes from `NONE` to any other
-value.
-
-Applications typically should use `document.addEventListener` to
-attach an event listener once the `deviceready` event fires.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- Android
-- BlackBerry 10
-- iOS
-- Windows Phone 7 and 8
-- Tizen
-- Windows 8
-
-## Quick Example
-
-    document.addEventListener("offline", onOffline, false);
-
-    function onOffline() {
-        // Handle the offline event
-    }
-
-## Full Example
-
-    <!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.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            document.addEventListener("offline", onOffline, false);
-        }
-
-        // Handle the offline event
-        //
-        function onOffline() {
-        }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-      </body>
-    </html>
-
-## iOS Quirks
-
-During initial startup, the first offline event (if applicable) takes at least a second to fire.
-
-## Windows Phone 7 Quirks
-
-When running in the Emulator, the `connection.status` is always unknown, so this event does _not_ fire.
-
-## Windows Phone 8 Quirks
-
-The Emulator reports the connection type as `Cellular`, which does not change, so the event does _not_ fire.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/events/events.online.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/events/events.online.md b/docs/en/edge/cordova/events/events.online.md
deleted file mode 100644
index 5f6a8db..0000000
--- a/docs/en/edge/cordova/events/events.online.md
+++ /dev/null
@@ -1,100 +0,0 @@
----
-license: 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.
----
-
-# online
-
-This event fires when an application goes online, and the device
-becomes connected to the Internet.
-
-    document.addEventListener("online", yourCallbackFunction, false);
-
-## Details
-
-The `online` 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 Connection API, and fires
-when the value of `connection.type` becomes `NONE`.
-
-Applications typically should use `document.addEventListener` to
-attach an event listener once the `deviceready` event fires.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- Android
-- BlackBerry 10
-- iOS
-- Windows Phone 7 and 8
-- Tizen
-- Windows 8
-
-## Quick Example
-
-    document.addEventListener("online", onOnline, false);
-
-    function onOnline() {
-        // Handle the online event
-    }
-
-## Full Example
-
-    <!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.addEventListener("online", onOnline, false);
-            document.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-        }
-
-        // Handle the online event
-        //
-        function onOnline() {
-        }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-      </body>
-    </html>
-
-## iOS Quirks
-
-During initial startup, the first `online` event (if applicable) takes
-at least a second to fire, prior to which `connection.type` is
-`UNKNOWN`.
-
-## Windows Phone 7 Quirks
-
-When running in the Emulator, the `connection.status` is always unknown, so this event does _not_ fire.
-
-## Windows Phone 8 Quirks
-
-The Emulator reports the connection type as `Cellular`, which does not change, so events does _not_ fire.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/file/directoryentry/directoryentry.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/directoryentry/directoryentry.md b/docs/en/edge/cordova/file/directoryentry/directoryentry.md
deleted file mode 100644
index 24187b2..0000000
--- a/docs/en/edge/cordova/file/directoryentry/directoryentry.md
+++ /dev/null
@@ -1,411 +0,0 @@
----
-license: 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.
----
-
-# DirectoryEntry
-
-This object represents a directory on a file system, as defined by the
-[W3C Directories and Systems](http://www.w3.org/TR/file-system-api/)
-specification.
-
-## Properties
-
-- __isFile__: Always `false`. _(boolean)_
-
-- __isDirectory__: Always `true`. _(boolean)_
-
-- __name__: The name of the `DirectoryEntry`, excluding the path leading to it. _(DOMString)_
-
-- __fullPath__: The full absolute path from the root to the `DirectoryEntry`. _(DOMString)_
-
-__NOTE__: The following attribute is defined by the W3C specification,
-but is _not_ supported:
-
-- __filesystem__: The file system on which the `DirectoryEntry` resides. _(FileSystem)_
-
-## Methods
-
-The following methods can be invoked on a `DirectoryEntry` object:
-
-- __getMetadata__: Look up metadata about a directory.
-
-- __setMetadata__: Set metadata on a directory.
-
-- __moveTo__: Move a directory to a different location on the file system.
-
-- __copyTo__: Copy a directory to a different location on the file system.
-
-- __toURL__: Return a URL to help locate a directory.
-
-- __remove__: Delete a directory. The directory must be empty.
-
-- __getParent__: Look up the parent directory.
-
-- __createReader__: Create a new `DirectoryReader` that can read entries from a directory.
-
-- __getDirectory__: Create or look up a directory.
-
-- __getFile__: Create or look up a file.
-
-- __removeRecursively__: Delete a directory and all of its contents.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- Android
-- BlackBerry 10
-- iOS
-- Windows Phone 7 and 8
-- Windows 8
-
-## getMetadata
-
-Look up metadata about a directory.
-
-__Parameters__:
-
-- __successCallback__: A callback function to execute with a `Metadata` object. _(Function)_
-
-- __errorCallback__: A callback function to execute if an error occurs when retrieving the `Metadata`. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(metadata) {
-        console.log("Last Modified: " + metadata.modificationTime);
-    }
-
-    function fail(error) {
-        alert(error.code);
-    }
-
-    // Request the metadata object for this entry
-    entry.getMetadata(success, fail);
-
-## setMetadata
-
-Sets a directory's extended attributes, or metadata. _Currently works
-only on iOS._
-
-__Parameters__:
-
-- __successCallback__: A callback that executes when the metadata is successfully set. _(Function)_
-
-- __errorCallback__: A callback that executes when the metadata fails to be set. _(Function)_
-
-- __metadataObject__: An object that contains the metadata's keys and values. _(Object)_
-
-__Quick Example__
-
-    function success() {
-        console.log("The metadata was successfully set.");
-    }
-
-    function fail() {
-        alert("There was an error in setting the metadata");
-    }
-
-    // Set the metadata
-    entry.setMetadata(success, fail, { "com.apple.MobileBackup": 1});
-
-__iOS Quirk__
-
-- Only the `com.apple.MobileBackup` extended attribute is supported. Set the value to `1` to prevent the directory from being backed up to iCloud. Set the value to `0` to re-enable the directory to be backed up to iCloud.
-
-__Quick Example__
-
-    function setFolderMetadata(localFileSystem, subFolder, metadataKey, metadataValue)
-    {
-        var onSetMetadataWin = function() {
-            console.log("success setting metadata")
-        }
-        var onSetMetadataFail = function() {
-            console.log("error setting metadata")
-        }
-
-        var onGetDirectoryWin = function(parent) {
-            var data = {};
-            data[metadataKey] = metadataValue;
-            parent.setMetadata(onSetMetadataWin, onSetMetadataFail, data);
-        }
-        var onGetDirectoryFail = function() {
-            console.log("error getting dir")
-        }
-
-        var onFSWin = function(fileSystem) {
-            fileSystem.root.getDirectory(subFolder, {create: true, exclusive: false}, onGetDirectoryWin, onGetDirectoryFail);
-        }
-
-        var onFSFail = function(error) {
-            console.log(error.code);
-        }
-
-        window.requestFileSystem(localFileSystem, 0, onFSWin, onFSFail);
-    }
-
-        setFolderMetadata(LocalFileSystem.PERSISTENT, "Backups", "com.apple.MobileBackup", 1);
-
-## moveTo
-
-Move a directory to a different location on the file system. An error results if the app attempts to:
-
-- move a directory inside itself or to any child at any depth.
-
-- move a directory into its parent if a name different from its current directory is not provided.
-
-- move a directory to a path occupied by a file.
-
-- move a directory to a path occupied by a directory that is not empty.
-
-Moving a directory on top of an existing empty directory attempts to
-delete and replace that directory.
-
-__Parameters__:
-
-- __parent__: The parent directory to which to move the directory. _(DirectoryEntry)_
-
-- __newName__: The new name of the directory. Defaults to the current name if unspecified. _(DOMString)_
-
-- __successCallback__: A callback that executes with the `DirectoryEntry` object for the new directory. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to move the directory. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(entry) {
-        console.log("New Path: " + entry.fullPath);
-    }
-
-    function fail(error) {
-        alert(error.code);
-    }
-
-    function moveDir(entry) {
-        var parent = document.getElementById('parent').value,
-            parentName = parent.substring(parent.lastIndexOf('/')+1),
-            newName = document.getElementById('newName').value,
-            parentEntry = new DirectoryEntry(parentName, parent);
-
-        // move the directory to a new directory and rename it
-        entry.moveTo(parentEntry, newName, success, fail);
-    }
-
-## copyTo
-
-Copy a directory to a different location on the file system.  An error results if the app attempts to:
-
-- copy a directory inside itself at any depth.
-
-- copy a directory into its parent if a name different from its current directory is not provided.
-
-Directory copies are always recursive, and copy all contents of the directory.
-
-__Parameters__:
-
-- __parent__: The parent directory to which to copy the directory. _(DirectoryEntry)_
-
-- __newName__: The new name of the directory. Defaults to the current name if unspecified. _(DOMString)_
-
-- __successCallback__: A callback that executes with the `DirectoryEntry` object for the new directory. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to copy the underlying directory. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function win(entry) {
-        console.log("New Path: " + entry.fullPath);
-    }
-
-    function fail(error) {
-        alert(error.code);
-    }
-
-    function copyDir(entry) {
-        var parent = document.getElementById('parent').value,
-            parentName = parent.substring(parent.lastIndexOf('/')+1),
-            newName = document.getElementById('newName').value,
-            parentEntry = new DirectoryEntry(parentName, parent);
-
-        // copy the directory to a new directory and rename it
-        entry.copyTo(parentEntry, newName, success, fail);
-    }
-
-## toURL
-
-Returns a URL that can be used to locate the directory.
-
-__Quick Example__
-
-    // Get the URL for this directory
-    var dirURL = entry.toURL();
-    console.log(dirURL);
-
-## remove
-
-Deletes a directory. An error results if the app attempts to:
-
-- delete a directory that is not empty.
-
-- delete the root directory of a filesystem.
-
-__Parameters__:
-
-- __successCallback__: A callback that executes after the directory is deleted.  Invoked with no parameters. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to delete the directory. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(entry) {
-        console.log("Removal succeeded");
-    }
-
-    function fail(error) {
-        alert('Error removing directory: ' + error.code);
-    }
-
-    // remove this directory
-    entry.remove(success, fail);
-
-## getParent
-
-Look up the parent `DirectoryEntry` containing the directory.
-
-__Parameters__:
-
-- __successCallback__: A callback that is passed the directory's parent `DirectoryEntry`. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to retrieve the parent `DirectoryEntry`. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(parent) {
-        console.log("Parent Name: " + parent.name);
-    }
-
-    function fail(error) {
-        alert('Failed to get parent directory: ' + error.code);
-    }
-
-    // Get the parent DirectoryEntry
-    entry.getParent(success, fail);
-
-## createReader
-
-Creates a new DirectoryReader to read entries in a directory.
-
-__Quick Example__
-
-    // create a directory reader
-    var directoryReader = entry.createReader();
-
-## getDirectory
-
-Creates or looks up an existing directory.  An error results if the app attempts to:
-
-- create a directory whose immediate parent does not yet exist.
-
-__Parameters__:
-
-- __path__: The path to the directory to be looked up or created.  Either an absolute path, or a relative path from this `DirectoryEntry`. _(DOMString)_
-
-- __options__: Options to specify whether the directory is to be created if it doesn't exist.  _(Flags)_
-
-- __successCallback__: A callback that executes with a `DirectoryEntry` object. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when creating or looking up the directory. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(dirEntry) {
-        console.log("Directory Name: " + dirEntry.name);
-    }
-
-    function fail(error) {
-        alert("Unable to create new directory: " + error.code);
-    }
-
-    // Retrieve an existing directory, or create it if it does not already exist
-    entry.getDirectory("newDir", {create: true, exclusive: false}, success, fail);
-
-## getFile
-
-Creates or looks up a file.  An error results if the app attempts to:
-
-- create a file whose immediate parent does not yet exist.
-
-__Parameters__:
-
-- __path__: The path to the file to be looked up or created.  Either an absolute path, or a relative path from this `DirectoryEntry`. _(DOMString)_
-
-- __options__: Options to specify whether the file is created if it doesn't exist.  _(Flags)_
-
-- __successCallback__: A callback that is passed a `FileEntry` object. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when creating or looking up the file. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(fileEntry) {
-        console.log("File Name: " + fileEntry.name);
-    }
-
-    function fail(error) {
-        alert("Failed to retrieve file: " + error.code);
-    }
-
-    // Retrieve an existing file, or create it if it does not exist
-    entry.getFile("newFile.txt", {create: true, exclusive: false}, success, fail);
-
-## removeRecursively
-
-Deletes a directory and all of its contents.  In the event of an error (such as trying to delete
-a directory containing a file that can't be removed), some of the contents of the directory may
-be deleted.   An error results if the app attempts to:
-
-- delete the root directory of a filesystem.
-
-__Parameters__:
-
-- __successCallback__: A callback that executes after the `DirectoryEntry` has been deleted.  Invoked with no parameters. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to delete the `DirectoryEntry`. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(parent) {
-        console.log("Remove Recursively Succeeded");
-    }
-
-    function fail(error) {
-        alert("Failed to remove directory or it's contents: " + error.code);
-    }
-
-    // remove the directory and all it's contents
-    entry.removeRecursively(success, fail);
-
-## BlackBerry Quirks
-
-May fail with a `ControlledAccessException` in the following cases:
-
-- An app attempts to access a directory created by a previous installation of the app.
-
-> Solution: ensure temporary directories are cleaned manually, or by the application prior to reinstallation.
-
-- If the device is connected by USB.
-
-> Solution: disconnect the USB cable from the device and run again.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/file/directoryreader/directoryreader.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/directoryreader/directoryreader.md b/docs/en/edge/cordova/file/directoryreader/directoryreader.md
deleted file mode 100644
index 06ae3d2..0000000
--- a/docs/en/edge/cordova/file/directoryreader/directoryreader.md
+++ /dev/null
@@ -1,67 +0,0 @@
----
-license: 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.
----
-
-# DirectoryReader
-
-An object that lists files and directories within a directory, as
-defined in the
-[W3C Directories and Systems](http://www.w3.org/TR/file-system-api/)
-specification.
-
-## Methods
-
-- __readEntries__: Read the entries in a directory.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- Android
-- BlackBerry 10
-- iOS
-- Windows Phone 7 and 8
-- Windows 8
-
-## readEntries
-
-Read the entries in this directory.
-
-__Parameters__:
-
-- __successCallback__: A callback that is passed an array of `FileEntry` and `DirectoryEntry` objects. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when retrieving the directory listing. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(entries) {
-        var i;
-        for (i=0; i<entries.length; i++) {
-            console.log(entries[i].name);
-        }
-    }
-
-    function fail(error) {
-        alert("Failed to list directory contents: " + error.code);
-    }
-
-    // Get a directory reader
-    var directoryReader = dirEntry.createReader();
-
-    // Get a list of all the entries in the directory
-    directoryReader.readEntries(success,fail);

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/file/file.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/file.md b/docs/en/edge/cordova/file/file.md
deleted file mode 100644
index d23306d..0000000
--- a/docs/en/edge/cordova/file/file.md
+++ /dev/null
@@ -1,121 +0,0 @@
----
-license: 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.
----
-
-# File
-
-> An API to read, write and navigate file system hierarchies, based on the [w3c file api](http://www.w3.org/TR/FileAPI).
-
-## Objects
-
-- DirectoryEntry
-- DirectoryReader
-- File
-- FileEntry
-- FileError
-- FileReader
-- FileSystem
-- FileTransfer
-- FileTransferError
-- FileUploadOptions
-- FileUploadResult
-- FileWriter
-- Flags
-- LocalFileSystem
-- Metadata
-
-## Accessing the Feature
-
-As of version 3.0, Cordova implements device-level APIs as _plugins_.
-Use the CLI's `plugin` command, described in The Command-Line
-Interface, to add or remove this feature for a project:
-
-        $ cordova plugin add org.apache.cordova.file
-        $ cordova plugin ls
-        [ 'org.apache.cordova.file' ]
-        $ cordova plugin rm org.apache.cordova.file
-        
-You must add the `file-transfer` plugin separately. The CLI
-automatically adds the `file` plugin as a dependency, so there is no
-need to add it separately:
-
-        $ cordova plugin add org.apache.cordova.file-transfer
-        $ cordova plugin ls
-        [ 'org.apache.cordova.file',
-          'org.apache.cordova.file-transfer' ]
-        $ cordova plugin rm org.apache.cordova.file-transfer
-
-These commands apply to all targeted platforms, but modify the
-platform-specific configuration settings described below:
-
-* Amazon Fire OS
-
-        (after adding just the file plugin)
-        (in app/res/xml/config.xml)
-        <feature name="File">
-            <param name="android-package" value="org.apache.cordova.file.FileUtils" />
-        </feature>
-
-        (in app/AndroidManifest.xml)
-        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-
-        (after adding just the file-transfer plugin)
-        (in app/res/xml/config.xml)
-        <feature name="FileTransfer">
-            <param name="android-package" value="org.apache.cordova.filetransfer.FileTransfer" />
-        </feature>
-
-        (in app/AndroidManifest.xml)
-        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-
-* Android
-
-        (after adding just the file plugin)
-        (in app/res/xml/config.xml)
-        <feature name="File">
-            <param name="android-package" value="org.apache.cordova.file.FileUtils" />
-        </feature>
-
-        (in app/AndroidManifest.xml)
-        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-
-        (after adding just the file-transfer plugin)
-        (in app/res/xml/config.xml)
-        <feature name="FileTransfer">
-            <param name="android-package" value="org.apache.cordova.filetransfer.FileTransfer" />
-        </feature>
-
-        (in app/AndroidManifest.xml)
-        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-
-* BlackBerry 10
-
-        (in www/config.xml)
-        <feature name="File" value="File" />
-
-* iOS (in the named application directory's `config.xml`)
-
-        <feature name="File">
-            <param name="ios-package" value="CDVFile" />
-        </feature>
-        <feature name="FileTransfer">
-            <param name="ios-package" value="CDVFileTransfer" />
-        </feature>
-
-Some platforms may support this feature without requiring any special
-configuration.  See Platform Support for an overview.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/file/fileentry/fileentry.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/fileentry/fileentry.md b/docs/en/edge/cordova/file/fileentry/fileentry.md
deleted file mode 100644
index f53a833..0000000
--- a/docs/en/edge/cordova/file/fileentry/fileentry.md
+++ /dev/null
@@ -1,337 +0,0 @@
----
-license: 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.
----
-
-# FileEntry
-
-Represents a file on a file system, as defined in the
-[W3C Directories and Systems](http://www.w3.org/TR/file-system-api/)
-specification.
-
-## Properties
-
-- __isFile__: Always `true`. _(boolean)_
-
-- __isDirectory__: Always `false`. _(boolean)_
-
-- __name__: The name of the `FileEntry`, excluding the path leading to it. _(DOMString)_
-
-- __fullPath__: The full absolute path from the root to the `FileEntry`. _(DOMString)_
-
-__NOTE__: The following attribute is defined by the W3C specification,
-but is _not_ supported:
-
-- __filesystem__: The file system on which the `FileEntry` resides. _(FileSystem)_
-
-## Methods
-
-- __getMetadata__: Look up metadata about a file.
-
-- __setMetadata__: Set metadata on a file.
-
-- __moveTo__: Move a file to a different location on the file system.
-
-- __copyTo__: Copy a file to a different location on the file system.
-
-- __toURL__: Return a URL that can be used to locate a file.
-
-- __remove__: Delete a file.
-
-- __getParent__: Look up the parent directory.
-
-- __createWriter__: Creates a `FileWriter` object that can be used to write to a file.
-
-- __file__: Creates a `File` object containing file properties.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- Android
-- BlackBerry 10
-- iOS
-- Windows Phone 7 and 8
-- Windows 8
-
-## getMetadata
-
-Look up metadata about a file.
-
-__Parameters__:
-
-- __successCallback__: A callback that is passed a `Metadata` object. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when retrieving the `Metadata`. Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(metadata) {
-        console.log("Last Modified: " + metadata.modificationTime);
-    }
-
-    function fail(error) {
-        alert(error.code);
-    }
-
-    // Request the metadata object for this entry
-    entry.getMetadata(success, fail);
-
-## setMetadata
-
-Set metadata on a file.
-
-__Currently works only on iOS.__
-
-- This sets the extended attributes of a file.
-
-__Parameters__:
-
-- __successCallback__: A callback that executes when the metadata is set. _(Function)_
-
-- __errorCallback__: A callback that executes when the metadata is not successfully set. _(Function)_
-
-- __metadataObject__: An object that contains the metadata's keys and values. _(Object)_
-
-__Quick Example__
-
-    function success() {
-        console.log("The metadata was successfully set.");
-    }
-
-    function fail() {
-        alert("There was an error in setting the metadata");
-    }
-
-    // Set the metadata
-    entry.setMetadata(success, fail, { "com.apple.MobileBackup": 1});
-
-__iOS Quirk__
-
-- Only the `com.apple.MobileBackup` extended attribute is supported. Set the value to `1` to prevent the file from being backed up to iCloud. Set the value to `0` to re-enable the file to be backed up to iCloud.
-
-__Quick Example__
-
-    function setFileMetadata(localFileSystem, filePath, metadataKey, metadataValue)
-    {
-        var onSetMetadataWin = function() {
-            console.log("success setting metadata")
-        }
-        var onSetMetadataFail = function() {
-            console.log("error setting metadata")
-        }
-
-        var onGetFileWin = function(parent) {
-            var data = {};
-            data[metadataKey] = metadataValue;
-            parent.setMetadata(onSetMetadataWin, onSetMetadataFail, data);
-        }
-        var onGetFileFail = function() {
-            console.log("error getting file")
-        }
-
-        var onFSWin = function(fileSystem) {
-            fileSystem.root.getFile(filePath, {create: true, exclusive: false}, onGetFileWin, onGetFileFail);
-        }
-
-        var onFSFail = function(error) {
-            console.log(error.code);
-        }
-
-        window.requestFileSystem(localFileSystem, 0, onFSWin, onFSFail);
-    }
-
-        setFileMetadata(LocalFileSystem.PERSISTENT, "Backups/sqlite.db", "com.apple.MobileBackup", 1);
-
-## moveTo
-
-Move a file to a different location on the file system. An error
-results if the app attempts to:
-
-- move a file into its parent if a name different from its current one isn't provided;
-
-- move a file to a path occupied by a directory;
-
-In addition, moving a file on top of an existing file attempts to
-delete and replace that file.
-
-__Parameters__:
-
-- __parent__: The parent directory to which to move the file. _(DirectoryEntry)_
-
-- __newName__: The new name of the file. Defaults to the current name if unspecified. _(DOMString)_
-
-- __successCallback__: A callback that is passed the new file's `FileEntry` object. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to move the file.  Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(entry) {
-        console.log("New Path: " + entry.fullPath);
-    }
-
-    function fail(error) {
-        alert(error.code);
-    }
-
-    function moveFile(entry) {
-        var parent = document.getElementById('parent').value,
-            parentName = parent.substring(parent.lastIndexOf('/')+1),
-            parentEntry = new DirectoryEntry(parentName, parent);
-
-        // move the file to a new directory and rename it
-        entry.moveTo(parentEntry, "newFile.txt", success, fail);
-    }
-
-## copyTo
-
-Copy a file to a new location on the file system.  An error results if
-the app attempts to:
-
-- copy a file into its parent if a name different from its current one is not provided.
-
-__Parameters__:
-
-- __parent__: The parent directory to which to copy the file. _(DirectoryEntry)_
-
-- __newName__: The new name of the file. Defaults to the current name if unspecified. _(DOMString)_
-
-- __successCallback__: A callback that is passed the new file's `FileEntry` object. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to copy the file.  Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function win(entry) {
-        console.log("New Path: " + entry.fullPath);
-    }
-
-    function fail(error) {
-        alert(error.code);
-    }
-
-    function copyFile(entry) {
-        var parent = document.getElementById('parent').value,
-            parentName = parent.substring(parent.lastIndexOf('/')+1),
-            parentEntry = new DirectoryEntry(parentName, parent);
-
-        // copy the file to a new directory and rename it
-        entry.copyTo(parentEntry, "file.copy", success, fail);
-    }
-
-## toURL
-
-Returns a URL that can be used to locate the file.
-
-__Quick Example__
-
-    // Request the URL for this entry
-    var fileURL = entry.toURL();
-    console.log(fileURL);
-
-## remove
-
-Deletes a file.
-
-__Parameters__:
-
-- __successCallback__: A callback that executes after the file has been deleted.  Invoked with no parameters. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to delete the file.  Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(entry) {
-        console.log("Removal succeeded");
-    }
-
-    function fail(error) {
-        alert('Error removing file: ' + error.code);
-    }
-
-    // remove the file
-    entry.remove(success, fail);
-
-## getParent
-
-Look up the parent `DirectoryEntry` containing the file.
-
-__Parameters__:
-
-- __successCallback__: A callback that is passed the file's parent `DirectoryEntry`. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when attempting to retrieve the parent `DirectoryEntry`.  Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(parent) {
-        console.log("Parent Name: " + parent.name);
-    }
-
-    function fail(error) {
-        alert(error.code);
-    }
-
-    // Get the parent DirectoryEntry
-    entry.getParent(success, fail);
-
-## createWriter
-
-Create a `FileWriter` object associated with the file represented by the `FileEntry`.
-
-__Parameters__:
-
-- __successCallback__: A callback that is passed a `FileWriter` object. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs while attempting to create the FileWriter.  Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(writer) {
-        writer.write("Some text to the file");
-    }
-
-    function fail(error) {
-        alert(error.code);
-    }
-
-    // create a FileWriter to write to the file
-    entry.createWriter(success, fail);
-
-## file
-
-Return a `File` object that represents the current state of the file
-that this `FileEntry` represents.
-
-__Parameters__:
-
-- __successCallback__: A callback that is passed a `File` object. _(Function)_
-
-- __errorCallback__: A callback that executes if an error occurs when creating the `File` object, such as when the file no longer exists.  Invoked with a `FileError` object. _(Function)_
-
-__Quick Example__
-
-    function success(file) {
-        console.log("File size: " + file.size);
-    }
-
-    function fail(error) {
-        alert("Unable to retrieve file properties: " + error.code);
-    }
-
-    // obtain properties of a file
-    entry.file(success, fail);

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/file/fileerror/fileerror.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/fileerror/fileerror.md b/docs/en/edge/cordova/file/fileerror/fileerror.md
deleted file mode 100644
index 47add3f..0000000
--- a/docs/en/edge/cordova/file/fileerror/fileerror.md
+++ /dev/null
@@ -1,47 +0,0 @@
----
-license: 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.
----
-
-# FileError
-
-A `FileError` object is set when an error occurs in any of the File API methods.
-
-## Properties
-
-- __code__: One of the predefined error codes listed below.
-
-## Constants
-
-- `FileError.NOT_FOUND_ERR`
-- `FileError.SECURITY_ERR`
-- `FileError.ABORT_ERR`
-- `FileError.NOT_READABLE_ERR`
-- `FileError.ENCODING_ERR`
-- `FileError.NO_MODIFICATION_ALLOWED_ERR`
-- `FileError.INVALID_STATE_ERR`
-- `FileError.SYNTAX_ERR`
-- `FileError.INVALID_MODIFICATION_ERR`
-- `FileError.QUOTA_EXCEEDED_ERR`
-- `FileError.TYPE_MISMATCH_ERR`
-- `FileError.PATH_EXISTS_ERR`
-
-## Description
-
-The `FileError` object is the only parameter provided to any of the
-File API's error callbacks.  To determine the type of error, compare
-its `code` property to any of the listings above.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/file/fileobj/fileobj.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/fileobj/fileobj.md b/docs/en/edge/cordova/file/fileobj/fileobj.md
deleted file mode 100644
index 125e990..0000000
--- a/docs/en/edge/cordova/file/fileobj/fileobj.md
+++ /dev/null
@@ -1,83 +0,0 @@
----
-license: 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.
----
-
-# File
-
-This object contains attributes of a single file.
-
-## Properties
-
-- __name__: The name of the file. _(DOMString)_
-
-- __fullPath__: The full path of the file including the file name. _(DOMString)_
-
-- __type__: The mime type of the file. _(DOMString)_
-
-- __lastModifiedDate__: The last time the file was modified. _(Date)_
-
-- __size__: The size of the file in bytes. _(long)_
-
-## Methods
-
-- __slice__: Select only a portion of the file to be read.
-
-## Details
-
-The `File` object contains attributes of a single file.  You can get
-an instance of a `File` object by calling a `FileEntry` object's
-`file()` method.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- Android
-- BlackBerry 10
-- iOS
-- Windows Phone 7 and 8
-- Windows 8
-
-## slice
-
-Return a new `File` object, for which `FileReader` returns only the
-specified portion of the file.  Negative values for `start` or `end`
-are measured from the end of the file.  Indexes are positioned
-relative to the current slice. (See the full example below.)
-
-__Parameters__:
-
-- __start__: The index of the first byte to read, inclusive.
-
-- __end__: The index of the byte after the last one to read.
-
-__Quick Example__
-
-    var slicedFile = file.slice(10, 30);
-
-__Full Example__
-
-    var slice1 = file.slice(100, 400);
-    var slice2 = slice1.slice(20, 35);
-
-    var slice3 = file.slice(120, 135);
-    // slice2 and slice3 are equivalent.
-
-__Supported Platforms__
-
-- Android
-- iOS

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/file/filereader/filereader.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/filereader/filereader.md b/docs/en/edge/cordova/file/filereader/filereader.md
deleted file mode 100644
index 2461916..0000000
--- a/docs/en/edge/cordova/file/filereader/filereader.md
+++ /dev/null
@@ -1,255 +0,0 @@
----
-license: 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.
----
-
-# FileReader
-
-The `FileReader` allows basic access to a file.
-
-## Properties
-
-- __readyState__: One of the reader's three possible states, either `EMPTY`, `LOADING` or `DONE`.
-
-- __result__: The contents of the file that have been read. _(DOMString)_
-
-- __error__: An object containing errors. _(FileError)_
-
-- __onloadstart__: Called when the read starts. _(Function)_
-
-- __onload__: Called when the read has successfully completed. _(Function)_
-
-- __onabort__: Called when the read has been aborted. For instance, by invoking the `abort()` method. _(Function)_
-
-- __onerror__: Called when the read has failed. _(Function)_
-
-- __onloadend__: Called when the request has completed (either in success or failure).  _(Function)_
-
-__NOTE__: The following porperty is not supported:
-
-- __onprogress__: Called while reading the file, reporting progress in terms of `progress.loaded`/`progress.total`. _(Function)_
-
-## Methods
-
-- __abort__: Aborts reading file.
-
-- __readAsDataURL__: Read file and return data as a base64-encoded data URL.
-
-- __readAsText__: Reads text file.
-
-- __readAsBinaryString__: Reads file as binary and returns a binary string.
-
-- __readAsArrayBuffer__: Reads file as an `ArrayBuffer`.
-
-## Details
-
-The `FileReader` object offers a way to read files from the device's
-file system.  Files can be read as text or as a base64 data-encoded
-string.  Event listeners receive the `loadstart`, `progress`, `load`,
-`loadend`, `error`, and `abort` events.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- Android
-- BlackBerry 10
-- iOS
-- Windows Phone 7 and 8
-- Windows 8
-
-## readAsDataURL
-
-__Parameters__:
-
-- __file__: the file object to read.
-
-## Quick Example
-
-    function win(file) {
-        var reader = new FileReader();
-        reader.onloadend = function (evt) {
-            console.log("read success");
-            console.log(evt.target.result);
-        };
-        reader.readAsDataURL(file);
-    };
-
-    var fail = function (error) {
-        console.log(error.code);
-    };
-
-    entry.file(win, fail);
-
-## readAsText
-
-__Parameters__:
-
-- __file__: the file object to read.
-
-- __encoding__: the encoding to use to encode the file's content. Default is UTF8.
-
-## Quick Example
-
-    function win(file) {
-        var reader = new FileReader();
-        reader.onloadend = function (evt) {
-            console.log("read success");
-            console.log(evt.target.result);
-        };
-        reader.readAsText(file);
-    };
-
-    var fail = function (error) {
-        console.log(error.code);
-    };
-
-    entry.file(win, fail);
-
-## abort 
-
-    function win(file) {
-        var reader = new FileReader();
-        reader.onloadend = function(evt) {
-            console.log("read success");
-            console.log(evt.target.result);
-        };
-        reader.readAsText(file);
-        reader.abort();
-    };
-
-    function fail(error) {
-        console.log(error.code);
-    }
-
-    entry.file(win, fail);
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>FileReader 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
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, gotFS, fail);
-        }
-
-        function gotFS(fileSystem) {
-            fileSystem.root.getFile("readme.txt", null, gotFileEntry, fail);
-        }
-
-        function gotFileEntry(fileEntry) {
-            fileEntry.file(gotFile, fail);
-        }
-
-        function gotFile(file){
-            readDataUrl(file);
-            readAsText(file);
-        }
-
-        function readDataUrl(file) {
-            var reader = new FileReader();
-            reader.onloadend = function(evt) {
-                console.log("Read as data URL");
-                console.log(evt.target.result);
-            };
-            reader.readAsDataURL(file);
-        }
-
-        function readAsText(file) {
-            var reader = new FileReader();
-            reader.onloadend = function(evt) {
-                console.log("Read as text");
-                console.log(evt.target.result);
-            };
-            reader.readAsText(file);
-        }
-
-        function fail(error) {
-            console.log(error.code);
-        }
-
-        </script>
-      </head>
-      <body>
-        <h1>Example</h1>
-        <p>Read File</p>
-      </body>
-    </html>
-
-## iOS Quirks
-
-- The __encoding__ parameter is not supported, and UTF8 encoding is always in effect.
-
-## readAsBinaryString
-
-Currently supported on iOS and Android only.
-
-__Parameters__:
-
-- __file__: the file object to read.
-
-## Quick Example
-
-    function win(file) {
-        var reader = new FileReader();
-        reader.onloadend = function (evt) {
-            console.log("read success");
-            console.log(evt.target.result);
-        };
-        reader.readAsBinaryString(file);
-    };
-
-    var fail = function (error) {
-        console.log(error.code);
-    };
-
-    entry.file(win, fail);
-
-## readAsArrayBuffer
-
-Currently supported on iOS and Android only.
-
-__Parameters__:
-
-- __file__:  the file object to read.
-
-## Quick Example
-
-    function win(file) {
-        var reader = new FileReader();
-        reader.onloadend = function (evt) {
-            console.log("read success");
-            console.log(new Uint8Array(evt.target.result));
-        };
-        reader.readAsArrayBuffer(file);
-    };
-
-    var fail = function (error) {
-        console.log(error.code);
-    };
-
-    entry.file(win, fail);

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/97ae96ee/docs/en/edge/cordova/file/filesystem/filesystem.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/filesystem/filesystem.md b/docs/en/edge/cordova/file/filesystem/filesystem.md
deleted file mode 100644
index 3df4213..0000000
--- a/docs/en/edge/cordova/file/filesystem/filesystem.md
+++ /dev/null
@@ -1,91 +0,0 @@
----
-license: 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.
----
-
-# FileSystem
-
-This object represents a file system.
-
-## Properties
-
-- __name__: The name of the file system. _(DOMString)_
-
-- __root__: The root directory of the file system. _(DirectoryEntry)_
-
-## Details
-
-The `FileSystem` object represents information about the file system.
-The name of the file system is unique across the list of exposed
-file systems.  The root property contains a `DirectoryEntry` object
-that represents the file system's root directory.
-
-## Supported Platforms
-
-- Amazon Fire OS
-- Android
-- BlackBerry 10
-- iOS
-- Windows Phone 7 and 8
-- Windows 8
-
-## File System Quick Example
-
-    function onSuccess(fileSystem) {
-        console.log(fileSystem.name);
-        console.log(fileSystem.root.name);
-    }
-
-    // request the persistent file system
-    window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onSuccess, null);
-
-## Full Example
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>File System 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
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // device APIs are available
-        //
-        function onDeviceReady() {
-            window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onFileSystemSuccess, fail);
-        }
-
-        function onFileSystemSuccess(fileSystem) {
-            console.log(fileSystem.name);
-            console.log(fileSystem.root.name);
-        }
-
-        function fail(error) {
-            console.log(error.code);
-        }
-
-        </script>
-      </head>
-      <body>
-        <h1>Example</h1>
-        <p>File System</p>
-      </body>
-    </html>


Mime
View raw message