incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject [23/64] [partial] Remove all files.
Date Thu, 12 Jul 2012 22:09:53 GMT
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/file/fileuploadresult/fileuploadresult.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/file/fileuploadresult/fileuploadresult.md b/docs/en/0.9.4/phonegap/file/fileuploadresult/fileuploadresult.md
deleted file mode 100644
index 09e7ef9..0000000
--- a/docs/en/0.9.4/phonegap/file/fileuploadresult/fileuploadresult.md
+++ /dev/null
@@ -1,35 +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.
----
-
-FileUploadResult
-========
-
-A `FileUploadResult` object is returned via the success callback of the FileTransfer upload method.
-
-Properties
-----------
-
-- __bytesSent:__ The number of bytes sent to the server as part of the upload. (long)
-- __responseCode:__ The HTTP response code returned by the server. (long)
-- __response:__ The HTTP response returned by the server. (DOMString)
-
-Description
------------
-
-The `FileUploadResult` object is returned via the success callback of the FileTransfer upload method.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/file/filewriter/filewriter.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/file/filewriter/filewriter.md b/docs/en/0.9.4/phonegap/file/filewriter/filewriter.md
deleted file mode 100644
index f765c66..0000000
--- a/docs/en/0.9.4/phonegap/file/filewriter/filewriter.md
+++ /dev/null
@@ -1,161 +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.
----
-
-FileWriter
-==========
-
-FileWriter is an object that allows one to write a file.
-
-Properties
-----------
-
-- __readyState:__ One of the three states the reader can be in INIT, WRITING or DONE.
-- __fileName:__ The name of the file to be written. _(DOMString)_
-- __length:__ The length of the file to be written. _(long)_
-- __position:__ The current position of the file pointer. _(long)_
-- __error:__ An object containing errors. _(FileError)_
-- __onwritestart:__ Called when the write starts. . _(Function)_
-- __onprogress:__ Called while writing the file, reports progress (progess.loaded/progress.total). _(Function)_ -NOT SUPPORTED
-- __onabort:__ Called when the write has been aborted. For instance, by invoking the abort() method. _(Function)_
-- __onerror:__ Called when the write has failed. _(Function)_
-- __onwriteend:__ Called when the request has completed (either in success or failure).  _(Function)_
-
-Methods
--------
-
-- __abort__: Aborts writing file. 
-- __seek__: Moves the file pointer to the byte specified.
-- __truncate__: Shortens the file to the length specified.
-- __write__: Writes data to the file.
-
-Details
--------
-
-The `FileWriter` object is a way to write files from the devices file system.  Users register their own event listeners to receive the writestart, progress, write, writeend, error and abort events.
-
-A FileWriter is created for a single file. You can use it to write to a file multiple times. The FileWriter maintains the file's position and length attributes, so you can seek and write anywhere in the file. By default, the FileWriter writes to the beginning of the file (will overwrite existing data). Set the optional append boolean to true in the FileWriter's constructor to begin writing to the end of the file.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iOS
-
-Seek Quick Example
-------------------------------
-	
-    var paths = navigator.fileMgr.getRootPaths();
-	var writer = new FileWriter(paths[0] + "write.txt");
-	// fast forwards file pointer to end of file
-	writer.seek(writer.length);	
-
-Truncate Quick Example
---------------------------
-
-    var paths = navigator.fileMgr.getRootPaths();
-	var writer = new FileWriter(paths[0] + "write.txt");
-	writer.truncate(10);	
-
-Write Quick Example
--------------------	
-
-	var writeSuccess = function(evt) {
-		console.log("Write has succeeded");
-	};
-	
-    var paths = navigator.fileMgr.getRootPaths();
-	var writer = new FileWriter(paths[0] + "write.txt");
-	writer.onwrite = writeSuccess;
-	writer.write("some sample text");
-
-Append Quick Example
---------------------	
-
-	var writeSuccess = function(evt) {
-		console.log("Write has succeeded");
-	};
-	
-    var paths = navigator.fileMgr.getRootPaths();
-	var writer = new FileWriter(paths[0] + "write.txt", true);
-	writer.onwrite = writeSuccess;
-	writer.write("some more text");
-	
-Abort Quick Example
--------------------
-
-	var aborted = function(evt) {
-		console.log(evt.target.error);
-	};
-	
-    var paths = navigator.fileMgr.getRootPaths();
-	var writer = new FileWriter(paths[0] + "write.txt");
-	writer.onabort = aborted;
-	writer.write("some sample text");
-	writer.abort();
-
-Full Example
-------------
-
-    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                          "http://www.w3.org/TR/html4/strict.dtd">
-    <html>
-      <head>
-        <title>Contact Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for PhoneGap to load
-        //
-        function onLoad() {
-            document.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // PhoneGap is ready
-        //
-        function onDeviceReady() {
-			var paths = navigator.fileMgr.getRootPaths();
-			var writer = new FileWriter(paths[0] + "write.txt");
-			writer.onwrite = writeSuccess;
-			writer.write("some sample text");
-			// The file is now 'some sample text'
-        }
-
-		function writeSuccess() {
-			console.log("Write has succeeded");
-			var paths = navigator.fileMgr.getRootPaths();
-			var writer = new FileWriter(paths[0] + "write.txt");
-			writer.seek(4);
-			writer.truncate(writer.position);
-			// The file is now 'some'
-		}
-		
-		function fail(evt) {
-			console.log(evt.target.error.code);
-		}
-		
-        </script>
-      </head>
-      <body onload="onLoad()">
-        <h1>Example</h1>
-        <p>Write File</p>
-      </body>
-    </html>
-    

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/Coordinates/coordinates.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/Coordinates/coordinates.md b/docs/en/0.9.4/phonegap/geolocation/Coordinates/coordinates.md
deleted file mode 100644
index e383ed0..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/Coordinates/coordinates.md
+++ /dev/null
@@ -1,126 +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.
----
-
-Coordinates
-===========
-
-A set of properties that describe the geographic coordinates of a position.
-
-Properties
-----------
-
-* __latitude__: Latitude in decimal degrees. _(Number)_
-* __longitude__: Longitude in decimal degrees. _(Number)_
-* __altitude__: Height of the position in meters above the ellipsoid. _(Number)_
-* __accuracy__: Accuracy level of the latitude and longitude coordinates in meters. _(Number)_
-* __altitudeAccuracy__: Accuracy level of the altitude coordinate in meters. _(Number)_
-* __heading__: Direction of travel, specified in degrees counting clockwise relative to the true north. _(Number)_
-* __speed__: Current ground speed of the device, specified in meters per second. _(Number)_
-
-Description
------------
-
-The `Coordinates` object is created and populated by PhoneGap, and attached to the `Position` object. The `Position` object is then returned to the user through a callback function.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry (OS 4.6)
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iPhone
-
-Quick Example
--------------
-
-    // onSuccess Callback
-    //
-    var onSuccess = function(position) {
-        alert('Latitude: '          + position.coords.latitude          + '\n' +
-              'Longitude: '         + position.coords.longitude         + '\n' +
-              'Altitude: '          + position.coords.altitude          + '\n' +
-              'Accuracy: '          + position.coords.accuracy          + '\n' +
-              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
-              'Heading: '           + position.coords.heading           + '\n' +
-              'Speed: '             + position.coords.speed             + '\n' +
-              'Timestamp: '         + new Date(position.timestamp)      + '\n');
-    };
-
-    // onError Callback
-    //
-    var onError = function() {
-        alert('onError!');
-    };
-
-    navigator.geolocation.getCurrentPosition(onSuccess, onError);
-
-Full Example
-------------
-
-    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                          "http://www.w3.org/TR/html4/strict.dtd">
-    <html>
-      <head>
-        <title>Geolocation Position Example</title>
-        <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Set an event to wait for PhoneGap to load
-        //
-        function onLoad() {
-            document.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // PhoneGap is loaded and Ready
-        //
-        function onDeviceReady() {
-            navigator.geolocation.getCurrentPosition(onSuccess, onError);
-        }
-    
-        // Display `Position` properties from the geolocation
-        //
-        function onSuccess(position) {
-            var div = document.getElementById('myDiv');
-        
-            div.innerHTML = 'Latitude: '             + position.coords.latitude  + '<br/>' +
-                            'Longitude: '            + position.coords.longitude + '<br/>' +
-                            'Altitude: '             + position.coords.altitude  + '<br/>' +
-                            'Accuracy: '             + position.coords.accuracy  + '<br/>' +
-                            'Altitude Accuracy: '    + position.coords.altitudeAccuracy  + '<br/>' +
-                            'Heading: '              + position.coords.heading   + '<br/>' +
-                            'Speed: '                + position.coords.speed     + '<br/>';
-        }
-    
-        // Show an alert if there is a problem getting the geolocation
-        //
-        function onError() {
-            alert('onError!');
-        }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-        <div id="myDiv"></div>
-      </body>
-    </html>
-    
-Android Quirks
--------------
-
-__altitudeAccuracy:__ This property is not support by Android devices, it will always return null.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/Position/position.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/Position/position.md b/docs/en/0.9.4/phonegap/geolocation/Position/position.md
deleted file mode 100644
index c787687..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/Position/position.md
+++ /dev/null
@@ -1,132 +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.
----
-
-Position
-========
-
-Contains `Position` coordinates that are created by the geolocation API.
-
-Properties
-----------
-
-- __coords:__ A set of geographic coordinates. _(Coordinates)_
-- __timestamp:__ Creation timestamp for `coords` in milliseconds. _(DOMTimeStamp)_
-
-Description
------------
-
-The `Position` object is created and populated by PhoneGap, and returned to the user through a callback function.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry (OS 4.6)
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iPhone
-
-Quick Example
--------------
-
-    // onSuccess Callback
-    //
-    var onSuccess = function(position) {
-        alert('Latitude: '          + position.coords.latitude          + '\n' +
-              'Longitude: '         + position.coords.longitude         + '\n' +
-              'Altitude: '          + position.coords.altitude          + '\n' +
-              'Accuracy: '          + position.coords.accuracy          + '\n' +
-              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
-              'Heading: '           + position.coords.heading           + '\n' +
-              'Speed: '             + position.coords.speed             + '\n' +
-              'Timestamp: '         + new Date(position.timestamp)      + '\n');
-    };
-
-    // onError Callback receives a PositionError object
-    //
-    function onError(error) {
-        alert('code: '    + error.code    + '\n' +
-              'message: ' + error.message + '\n');
-    }
-
-    navigator.geolocation.getCurrentPosition(onSuccess, onError);
-
-Full Example
-------------
-
-    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                          "http://www.w3.org/TR/html4/strict.dtd">
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for PhoneGap to load
-        //
-        function onLoad() {
-            document.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // PhoneGap is ready
-        //
-        function onDeviceReady() {
-            navigator.geolocation.getCurrentPosition(onSuccess, onError);
-        }
-    
-        // onSuccess Geolocation
-        //
-        function onSuccess(position) {
-            var element = document.getElementById('geolocation');
-            element.innerHTML = 'Latitude: '           + position.coords.latitude              + '<br />' +
-                                'Longitude: '          + position.coords.longitude             + '<br />' +
-                                'Altitude: '           + position.coords.altitude              + '<br />' +
-                                'Accuracy: '           + position.coords.accuracy              + '<br />' +
-                                'Altitude Accuracy: '  + position.coords.altitudeAccuracy      + '<br />' +
-                                'Heading: '            + position.coords.heading               + '<br />' +
-                                'Speed: '              + position.coords.speed                 + '<br />' +
-                                'Timestamp: '          + new Date(position.timestamp)          + '<br />';
-        }
-    
-	    // onError Callback receives a PositionError object
-	    //
-	    function onError(error) {
-	        alert('code: '    + error.code    + '\n' +
-	              'message: ' + error.message + '\n');
-	    }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-        <p id="geolocation">Finding geolocation...</p>
-      </body>
-    </html>
-
-iPhone Quirks
--------------
-
-- __timestamp:__ Uses seconds instead of milliseconds.
-
-A workaround is to manually convert the timestamp to milliseconds (x 1000):
-
-        var onSuccess = function(position) {
-            alert('Latitude: '  + position.coords.latitude             + '\n' +
-                  'Longitude: ' + position.coords.longitude            + '\n' +
-                  'Timestamp: ' + new Date(position.timestamp * 1000)  + '\n');
-        };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/PositionError/positionError.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/PositionError/positionError.md b/docs/en/0.9.4/phonegap/geolocation/PositionError/positionError.md
deleted file mode 100755
index aa64fe1..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/PositionError/positionError.md
+++ /dev/null
@@ -1,42 +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.
----
-
-PositionError
-========
-
-A `PositionError` object is returned to the geolocationError callback when an error occurs.
-
-Properties
-----------
-
-- __code:__ One of the predefined error codes listed below.
-- __message:__ Error message describing the details of the error encountered.
-
-Constants
----------
-
-- `PositionError.PERMISSION_DENIED`
-- `PositionError.POSITION_UNAVAILABLE`
-- `PositionError.TIMEOUT`
-
-Description
------------
-
-The `PositionError` object is returned to the user through the `geolocationError` callback function when an error occurs with geolocation.
-

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/geolocation.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/geolocation.clearWatch.md b/docs/en/0.9.4/phonegap/geolocation/geolocation.clearWatch.md
deleted file mode 100644
index 755f209..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/geolocation.clearWatch.md
+++ /dev/null
@@ -1,116 +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.
----
-
-geolocation.clearWatch
-======================
-
-Stop watching for changes to the device's location referenced by the `watchID` parameter.
-
-    navigator.geolocation.clearWatch(watchID);
-
-Parameters
-----------
-
-- __watchID:__ The id of the `watchPosition` interval to clear. (String)
-
-Description
------------
-
-Function `geolocation.clearWatch` stops watching changes to the device's location by clearing the `geolocation.watchPosition` referenced by `watchID`.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry (OS 4.6)
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iPhone
-
-Quick Example
--------------
-
-    // Options: retrieve the location every 3 seconds
-    //
-    var watchID = navigator.geolocation.watchPosition(onSuccess, onError, { frequency: 3000 });
-
-    // ...later on...
-
-    navigator.geolocation.clearWatch(watchID);
-
-
-Full Example
-------------
-
-    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                          "http://www.w3.org/TR/html4/strict.dtd">
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for PhoneGap to load
-        //
-        function onLoad() {
-            document.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        var watchID = null;
-
-        // PhoneGap is ready
-        //
-        function onDeviceReady() {
-            // Update every 3 seconds
-            var options = { frequency: 3000 };
-            watchID = navigator.geolocation.watchPosition(onSuccess, onError, options);
-        }
-    
-        // onSuccess Geolocation
-        //
-        function onSuccess(position) {
-            var element = document.getElementById('geolocation');
-            element.innerHTML = 'Latitude: '  + position.coords.latitude      + '<br />' +
-                                'Longitude: ' + position.coords.longitude     + '<br />' +
-                                '<hr />'      + element.innerHTML;
-        }
-
-        // clear the watch that was started earlier
-        // 
-        function clearWatch() {
-            if (watchID != null) {
-                navigator.geolocation.clearWatch(watchID);
-                watchID = null;
-            }
-        }
-    
-	    // onError Callback receives a PositionError object
-	    //
-	    function onError(error) {
-	      alert('code: '    + error.code    + '\n' +
-	            'message: ' + error.message + '\n');
-	    }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-        <p id="geolocation">Watching geolocation...</p>
-    	<button onclick="clearWatch();">Clear Watch</button>     
-      </body>
-    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/geolocation.getCurrentPosition.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/geolocation.getCurrentPosition.md b/docs/en/0.9.4/phonegap/geolocation/geolocation.getCurrentPosition.md
deleted file mode 100644
index 79597dc..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/geolocation.getCurrentPosition.md
+++ /dev/null
@@ -1,127 +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.
----
-
-geolocation.getCurrentPosition
-==============================
-
-Returns the device's current position as a `Position` object.
-
-    navigator.geolocation.getCurrentPosition(geolocationSuccess, 
-                                             [geolocationError], 
-                                             [geolocationOptions]);
-
-Parameters
-----------
-
-- __geolocationSuccess__: The callback that is called with the current position.
-- __geolocationError__: (Optional) The callback that is called if there was an error.
-- __geolocationOptions__: (Optional) The geolocation options.
-
-Description
------------
-
-Function `geolocation.getCurrentPositon` is an asynchronous function. It returns the device's current position to the `geolocationSuccess` callback with a `Position` object as the parameter.  If there is an error, the `geolocationError` callback is invoked with a `PositionError` object.
-
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry (OS 4.6)
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iPhone
-    
-Quick Example
--------------
-
-    // onSuccess Callback
-    //   This method accepts a `Position` object, which contains
-    //   the current GPS coordinates
-    //
-    var onSuccess = function(position) {
-        alert('Latitude: '          + position.coords.latitude          + '\n' +
-              'Longitude: '         + position.coords.longitude         + '\n' +
-              'Altitude: '          + position.coords.altitude          + '\n' +
-              'Accuracy: '          + position.coords.accuracy          + '\n' +
-              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
-              'Heading: '           + position.coords.heading           + '\n' +
-              'Speed: '             + position.coords.speed             + '\n' +
-              'Timestamp: '         + new Date(position.timestamp)      + '\n');
-    };
-
-    // onError Callback receives a PositionError object
-    //
-    function onError(error) {
-        alert('code: '    + error.code    + '\n' +
-              'message: ' + error.message + '\n');
-    }
-
-    navigator.geolocation.getCurrentPosition(onSuccess, onError);
-
-Full Example
-------------
-
-    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                          "http://www.w3.org/TR/html4/strict.dtd">
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for PhoneGap to load
-        //
-        function onLoad() {
-            document.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // PhoneGap is ready
-        //
-        function onDeviceReady() {
-            navigator.geolocation.getCurrentPosition(onSuccess, onError);
-        }
-    
-        // onSuccess Geolocation
-        //
-        function onSuccess(position) {
-            var element = document.getElementById('geolocation');
-            element.innerHTML = 'Latitude: '           + position.coords.latitude              + '<br />' +
-                                'Longitude: '          + position.coords.longitude             + '<br />' +
-                                'Altitude: '           + position.coords.altitude              + '<br />' +
-                                'Accuracy: '           + position.coords.accuracy              + '<br />' +
-                                'Altitude Accuracy: '  + position.coords.altitudeAccuracy      + '<br />' +
-                                'Heading: '            + position.coords.heading               + '<br />' +
-                                'Speed: '              + position.coords.speed                 + '<br />' +
-                                'Timestamp: '          + new Date(position.timestamp)          + '<br />';
-        }
-    
-	    // onError Callback receives a PositionError object
-	    //
-	    function onError(error) {
-	        alert('code: '    + error.code    + '\n' +
-	              'message: ' + error.message + '\n');
-	    }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-        <p id="geolocation">Finding geolocation...</p>
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/geolocation.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/geolocation.md b/docs/en/0.9.4/phonegap/geolocation/geolocation.md
deleted file mode 100644
index e45b31c..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/geolocation.md
+++ /dev/null
@@ -1,49 +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.
----
-
-Geolocation
-===========
-
-> The `geolocation` object provides access to the device's GPS sensor. 
-
-Geolocation provides location information for the device, such as latitude and longitude. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs. No guarantee is given that the API returns the device's actual location. 
-
-This API is based on the [W3C Geo location API Specification](http://dev.w3.org/geo/api/spec-source.html).  Some devices already provide an implementation of this spec.  For those devices, the built-in support is used instead of replacing it with PhoneGap's implementation.  For devices that don't have geolocation support, PhoneGap's implementation should be compatible with the W3C specification.
-
-Methods
--------
-
-- geolocation.getCurrentPosition
-- geolocation.watchPosition
-- geolocation.clearWatch
-
-
-Arguments
----------
-
-- geolocationSuccess
-- geolocationError
-- geolocationOptions
-
-Objects (Read-Only)
--------------------
-
-- Position
-- PositionError
-- Coordinates

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/geolocation.watchPosition.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/geolocation.watchPosition.md b/docs/en/0.9.4/phonegap/geolocation/geolocation.watchPosition.md
deleted file mode 100644
index 2c23698..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/geolocation.watchPosition.md
+++ /dev/null
@@ -1,129 +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.
----
-
-geolocation.watchPosition
-=========================
-
-Watches for changes to the device's current position.
-
-    var watchId = navigator.geolocation.watchPosition(geolocationSuccess,
-                                                      [geolocationError],
-                                                      [geolocationOptions]);
-
-Parameters
-----------
-
-- __geolocationSuccess__: The callback that is called with the current position.
-- __geolocationError__: (Optional) The callback that is called if there was an error.
-- __geolocationOptions__: (Optional) The geolocation options.
-
-Returns
--------
-
-- __String__: returns a watch id that references the watch position interval. The watch id can be used with `geolocation.clearWatch` to stop watching for changes in position.
-
-Description
------------
-
-Function `geolocation.watchPosition` is an asynchronous function. It returns the device's current position when a change in position has been detected.  When the device has retrieved a new location, the `geolocationSuccess` callback is invoked with a `Position` object as the parameter.  If there is an error, the `geolocationError` callback is invoked with a `PositionError` object.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry (OS 4.6)
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iPhone
-
-Quick Example
--------------
-
-    // onSuccess Callback
-    //   This method accepts a `Position` object, which contains
-    //   the current GPS coordinates
-    //
-    function onSuccess(position) {
-        var element = document.getElementById('geolocation');
-        element.innerHTML = 'Latitude: '  + position.coords.latitude      + '<br />' +
-                            'Longitude: ' + position.coords.longitude     + '<br />' +
-                            '<hr />'      + element.innerHTML;
-    }
-
-    // onError Callback receives a PositionError object
-    //
-    function onError(error) {
-        alert('code: '    + error.code    + '\n' +
-              'message: ' + error.message + '\n');
-    }
-
-    // Options: retrieve the location every 3 seconds
-    //
-    var watchID = navigator.geolocation.watchPosition(onSuccess, onError, { frequency: 3000 });
-    
-
-Full Example
-------------
-
-    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                          "http://www.w3.org/TR/html4/strict.dtd">
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for PhoneGap to load
-        //
-        function onLoad() {
-            document.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        var watchID = null;
-
-        // PhoneGap is ready
-        //
-        function onDeviceReady() {
-            // Update every 3 seconds
-            var options = { frequency: 3000 };
-            watchID = navigator.geolocation.watchPosition(onSuccess, onError, options);
-        }
-    
-        // onSuccess Geolocation
-        //
-        function onSuccess(position) {
-            var element = document.getElementById('geolocation');
-            element.innerHTML = 'Latitude: '  + position.coords.latitude      + '<br />' +
-                                'Longitude: ' + position.coords.longitude     + '<br />' +
-                                '<hr />'      + element.innerHTML;
-        }
-    
-	    // onError Callback receives a PositionError object
-	    //
-	    function onError(error) {
-	        alert('code: '    + error.code    + '\n' +
-	              'message: ' + error.message + '\n');
-	    }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-        <p id="geolocation">Watching geolocation...</p>
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/parameters/geolocation.options.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/parameters/geolocation.options.md b/docs/en/0.9.4/phonegap/geolocation/parameters/geolocation.options.md
deleted file mode 100644
index ce2cf69..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/parameters/geolocation.options.md
+++ /dev/null
@@ -1,41 +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.
----
-
-geolocationOptions
-==================
-
-Optional parameters to customize the retrieval of the geolocation.
-
-    { maximumAge: 3000, timeout: 5000, enableHighAccuracy: true };
-
-Options
--------
-
-- __frequency:__ How often to retrieve the position in milliseconds. This option is not part of the W3C spec and will be removed in the future. maximumAge should be used instead. _(Number)_ (Default: 10000)
-- __enableHighAccuracy:__ Provides a hint that the application would like to receive the best possible results. _(Boolean)_
-- __timeout:__ The maximum length of time (msec) that is allowed to pass from the call to `geolocation.getCurrentPosition` or `geolocation.watchPosition` until the corresponding `geolocationSuccess` callback is invoked. _(Number)_
-- __maximumAge:__ Accept a cached position whose age is no greater than the specified time in milliseconds. _(Number)_
-
-Android Quirks
---------------
-
-The Android 2.x simulators will not return a geolocation result unless the enableHighAccuracy option is set to true.
-
-    { enableHighAccuracy: true }
-

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/parameters/geolocationError.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/parameters/geolocationError.md b/docs/en/0.9.4/phonegap/geolocation/parameters/geolocationError.md
deleted file mode 100644
index c0091a0..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/parameters/geolocationError.md
+++ /dev/null
@@ -1,32 +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.
----
-
-geolocationError
-================
-
-The user's callback function that is called when there is an error for geolocation functions.
-
-    function(error) {
-        // Handle the error
-    }
-
-Parameters
-----------
-
-- __error:__ The error returned by the device. (`PositionError`)

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/geolocation/parameters/geolocationSuccess.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/geolocation/parameters/geolocationSuccess.md b/docs/en/0.9.4/phonegap/geolocation/parameters/geolocationSuccess.md
deleted file mode 100644
index 4c8b8fa..0000000
--- a/docs/en/0.9.4/phonegap/geolocation/parameters/geolocationSuccess.md
+++ /dev/null
@@ -1,46 +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.
----
-
-geolocationSuccess
-==================
-
-The user's callback function that is called when a geolocation position is available.
-
-    function(position) {
-        // Do something
-    }
-
-Parameters
-----------
-
-- __position:__ The geolocation position returned by the device. (`Position`)
-
-Example
--------
-
-    function geolocationSuccess(position) {
-        alert('Latitude: '          + position.coords.latitude          + '\n' +
-              'Longitude: '         + position.coords.longitude         + '\n' +
-              'Altitude: '          + position.coords.altitude          + '\n' +
-              'Accuracy: '          + position.coords.accuracy          + '\n' +
-              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
-              'Heading: '           + position.coords.heading           + '\n' +
-              'Speed: '             + position.coords.speed             + '\n' +
-              'Timestamp: '         + new Date(position.timestamp)      + '\n');
-    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/MediaError/mediaError.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/MediaError/mediaError.md b/docs/en/0.9.4/phonegap/media/MediaError/mediaError.md
deleted file mode 100644
index ab79258..0000000
--- a/docs/en/0.9.4/phonegap/media/MediaError/mediaError.md
+++ /dev/null
@@ -1,44 +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.
----
-
-MediaError
-==========
-
-A `MediaError` object is returned to the `mediaError` callback function when an error occurs.
-
-Properties
-----------
-
-- __code:__ One of the predefined error codes listed below.
-- __message:__ Error message describing the details of the error.
-
-Constants
----------
-
-- `MediaError.MEDIA_ERR_ABORTED`
-- `MediaError.MEDIA_ERR_NETWORK`
-- `MediaError.MEDIA_ERR_DECODE`
-- `MediaError.MEDIA_ERR_NONE_SUPPORTED`
-
-
-Description
------------
-
-The `MediaError` object is returned to the user through the `mediaError` callback function when an error occurs.
-

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/Parameters/mediaError.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/Parameters/mediaError.md b/docs/en/0.9.4/phonegap/media/Parameters/mediaError.md
deleted file mode 100644
index e1803b4..0000000
--- a/docs/en/0.9.4/phonegap/media/Parameters/mediaError.md
+++ /dev/null
@@ -1,32 +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.
----
-
-mediaError
-==========
-
-A user specified callback function that is invoked when there is an error in media functions.
-
-    function(error) {
-        // Handle the error
-    }
-
-Parameters
-----------
-
-- __error:__ The error returned by the device. (`MediaError`)

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/media.getCurrentPosition.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/media.getCurrentPosition.md b/docs/en/0.9.4/phonegap/media/media.getCurrentPosition.md
deleted file mode 100644
index 6d0074f..0000000
--- a/docs/en/0.9.4/phonegap/media/media.getCurrentPosition.md
+++ /dev/null
@@ -1,172 +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.
----
-
-media.getCurrentPosition
-========================
-
-Returns the current position within an audio file.
-
-    media.getCurrentPosition(mediaSuccess, [mediaError]);
-
-Parameters
-----------
-
-- __mediaSuccess__: The callback that is called with the current position.
-- __mediaError__: (Optional) The callback that is called if there was an error.
-
-Description
------------
-
-Function `media.getCurrentPosition` is an asynchronous function that returns the current position of the underlying audio file of a Media object.
-
-Supported Platforms
--------------------
-
-- Android
-    
-Quick Example
--------------
-
-        // Audio player
-        //
-        var my_media = new Media(src, onSuccess, onError);
-
-        // Update media position every second
-        var mediaTimer = setInterval(function() {
-            // get media position
-            my_media.getCurrentPosition(
-                // success callback
-                function(position) {
-                    if (position > -1) {
-                        console.log((position/1000) + " sec");
-                    }
-                },
-                // error callback
-                function(e) {
-                    console.log("Error getting pos=" + e);
-                }
-            );
-        }, 1000);
-
-
-Full Example
-------------
-
-        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                      "http://www.w3.org/TR/html4/strict.dtd">
-        <html>
-          <head>
-            <title>Media Example</title>
-        
-            <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-            <script type="text/javascript" charset="utf-8">
-        
-            // Wait for PhoneGap to load
-            //
-            function onLoad() {
-                document.addEventListener("deviceready", onDeviceReady, false);
-            }
-        
-            // PhoneGap is ready
-            //
-            function onDeviceReady() {
-                playAudio("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
-            }
-        
-            // Audio player
-            //
-            var my_media = null;
-            var mediaTimer = null;
-        
-            // Play audio
-            //
-            function playAudio(src) {
-                // Create Media object from src
-                my_media = new Media(src, onSuccess, onError);
-        
-                // Play audio
-                my_media.play();
-        
-                // Update my_media position every second
-                if (mediaTimer == null) {
-                    mediaTimer = setInterval(function() {
-                        // get my_media position
-                        my_media.getCurrentPosition(
-                            // success callback
-                            function(position) {
-                                if (position > -1) {
-                                    setAudioPosition((position/1000) + " sec");
-                                }
-                            },
-                            // error callback
-                            function(e) {
-                                console.log("Error getting pos=" + e);
-                                setAudioPosition("Error: " + e);
-                            }
-                        );
-                    }, 1000);
-                }
-            }
-        
-            // Pause audio
-            // 
-            function pauseAudio() {
-                if (my_media) {
-                    my_media.pause();
-                }
-            }
-        
-            // Stop audio
-            // 
-            function stopAudio() {
-                if (my_media) {
-                    my_media.stop();
-                }
-                clearInterval(mediaTimer);
-                mediaTimer = null;
-            }
-        
-            // onSuccess Callback
-            //
-            function onSuccess() {
-                console.log("playAudio():Audio Success");
-            }
-        
-            // onError Callback 
-            //
-            function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
-                      'message: ' + error.message + '\n');
-            }
-        
-            // Set audio position
-            // 
-            function setAudioPosition(position) {
-                document.getElementById('audio_position').innerHTML = position;
-            }
-        
-            </script>
-          </head>
-          <body onload="onLoad()">
-            <a href="#" class="btn large" onclick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');">Play Audio</a>
-            <a href="#" class="btn large" onclick="pauseAudio();">Pause Playing Audio</a>
-            <a href="#" class="btn large" onclick="stopAudio();">Stop Playing Audio</a>
-            <p id="audio_position"></p>
-          </body>
-        </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/media.getDuration.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/media.getDuration.md b/docs/en/0.9.4/phonegap/media/media.getDuration.md
deleted file mode 100644
index 27c7155..0000000
--- a/docs/en/0.9.4/phonegap/media/media.getDuration.md
+++ /dev/null
@@ -1,164 +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.
----
-
-media.getDuration
-=================
-
-Returns the duration of an audio file.
-
-    media.getDuration();
-
-
-Description
------------
-
-Function `media.getDuration` is a synchronous function that returns the duration of the audio file in seconds, if known.  If the duration is unknown, a value of -1 is returned.
-
-Supported Platforms
--------------------
-
-- Android
-    
-Quick Example
--------------
-
-        // Audio player
-        //
-        var my_media = new Media(src, onSuccess, onError);
-
-        // Get duration
-        var counter = 0;
-        var timerDur = setInterval(function() {
-            counter = counter + 100;
-            if (counter > 2000) {
-                clearInterval(timerDur);
-            }
-            var dur = my_media.getDuration();
-            if (dur > 0) {
-                clearInterval(timerDur);
-                document.getElementById('audio_duration').innerHTML = (dur/1000) + " sec";
-            }
-       }, 100);
-
-
-Full Example
-------------
-
-        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                              "http://www.w3.org/TR/html4/strict.dtd">
-        <html>
-          <head>
-            <title>Media Example</title>
-        
-            <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-            <script type="text/javascript" charset="utf-8">
-        
-            // Wait for PhoneGap to load
-            //
-            function onLoad() {
-                document.addEventListener("deviceready", onDeviceReady, false);
-            }
-        
-            // PhoneGap is ready
-            //
-            function onDeviceReady() {
-                playAudio("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
-            }
-        
-            // Audio player
-            //
-            var my_media = null;
-            var mediaTimer = null;
-        
-            // Play audio
-            //
-            function playAudio(src) {
-                // Create Media object from src
-                my_media = new Media(src, onSuccess, onError);
-        
-                // Play audio
-                my_media.play();
-        
-                // Update my_media position every second
-                if (mediaTimer == null) {
-                    mediaTimer = setInterval(function() {
-                        // get my_media position
-                        my_media.getCurrentPosition(
-                            // success callback
-                            function(position) {
-                                if (position > -1) {
-                                    setAudioPosition((position/1000) + " sec");
-                                }
-                            },
-                            // error callback
-                            function(e) {
-                                console.log("Error getting pos=" + e);
-                                setAudioPosition("Error: " + e);
-                            }
-                        );
-                    }, 1000);
-                }
-            }
-        
-            // Pause audio
-            // 
-            function pauseAudio() {
-                if (my_media) {
-                    my_media.pause();
-                }
-            }
-        
-            // Stop audio
-            // 
-            function stopAudio() {
-                if (my_media) {
-                    my_media.stop();
-                }
-                clearInterval(mediaTimer);
-                mediaTimer = null;
-            }
-        
-            // onSuccess Callback
-            //
-            function onSuccess() {
-                console.log("playAudio():Audio Success");
-            }
-        
-            // onError Callback 
-            //
-            function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
-                      'message: ' + error.message + '\n');
-            }
-        
-            // Set audio position
-            // 
-            function setAudioPosition(position) {
-                document.getElementById('audio_position').innerHTML = position;
-            }
-        
-            </script>
-          </head>
-          <body onload="onLoad()">
-            <a href="#" class="btn large" onclick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');">Play Audio</a>
-            <a href="#" class="btn large" onclick="pauseAudio();">Pause Playing Audio</a>
-            <a href="#" class="btn large" onclick="stopAudio();">Stop Playing Audio</a>
-            <p id="audio_position"></p>
-          </body>
-        </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/media.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/media.md b/docs/en/0.9.4/phonegap/media/media.md
deleted file mode 100644
index 6adc1d6..0000000
--- a/docs/en/0.9.4/phonegap/media/media.md
+++ /dev/null
@@ -1,53 +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.
----
-
-Media
-=====
-
-> The `Media` object provides the ability to record and play back audio files on a device. 
-
-    var media = new Media(src, mediaSuccess, [mediaError]);
-
-
-Note: The current implementation does not adhere to a W3C specification for media capture, and is provided for convenience only.  A future implementation will adhere to the latest W3C specification and may deprecate the current APIs.
-
-Parameters
-----------
-
-- __src__: A URI containing the audio content. _(DOMString)_
-- __mediaSuccess__: (Optional) The callback that is invoked after a Media object is created. _(Function)_
-- __mediaError__: (Optional) The callback that is invoked if there was an error. _(Function)_
-
-Methods
--------
-
-- media.getCurrentPosition: Returns the current position within an audio file.
-- media.getDuration: Returns the duration of an audio file.
-- media.play: Start or resume playing audio file.
-- media.pause: Pause playing audio file.
-- media.release: Releases the underlying OS'es audio resources.
-- media.startRecord: Start recording audio file.
-- media.stopRecord: Stop recording audio file.
-- media.stop: Stop playing audio file.
-
-Supported Platforms
--------------------
-
-- Android
-- iOS

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/media.pause.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/media.pause.md b/docs/en/0.9.4/phonegap/media/media.pause.md
deleted file mode 100644
index d739a34..0000000
--- a/docs/en/0.9.4/phonegap/media/media.pause.md
+++ /dev/null
@@ -1,170 +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.
----
-
-media.pause
-===========
-
-Pauses playing an audio file.
-
-    media.pause();
-
-
-Description
------------
-
-Function `media.pause` is a synchronous function that pauses playing an audio file.
-
-Supported Platforms
--------------------
-
-- Android
-- iOS
-    
-Quick Example
--------------
-
-    // Play audio
-    //
-    function playAudio(url) {
-        // Play the audio file at url
-        var my_media = new Media(url,
-            // success callback
-            function() {
-                console.log("playAudio():Audio Success");
-            },
-            // error callback
-            function(err) {
-                console.log("playAudio():Audio Error: "+err);
-        });
-
-        // Play audio
-        my_media.play();
-
-        // Pause after 10 seconds
-        setTimeout(function() {
-            media.pause();
-        }, 10000);        
-    }
-
-
-Full Example
-------------
-
-        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                              "http://www.w3.org/TR/html4/strict.dtd">
-        <html>
-          <head>
-            <title>Media Example</title>
-        
-            <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-            <script type="text/javascript" charset="utf-8">
-        
-            // Wait for PhoneGap to load
-            //
-            function onLoad() {
-                document.addEventListener("deviceready", onDeviceReady, false);
-            }
-        
-            // PhoneGap is ready
-            //
-            function onDeviceReady() {
-                playAudio("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
-            }
-        
-            // Audio player
-            //
-            var my_media = null;
-            var mediaTimer = null;
-        
-            // Play audio
-            //
-            function playAudio(src) {
-                // Create Media object from src
-                my_media = new Media(src, onSuccess, onError);
-        
-                // Play audio
-                my_media.play();
-        
-                // Update my_media position every second
-                if (mediaTimer == null) {
-                    mediaTimer = setInterval(function() {
-                        // get my_media position
-                        my_media.getCurrentPosition(
-                            // success callback
-                            function(position) {
-                                if (position > -1) {
-                                    setAudioPosition((position/1000) + " sec");
-                                }
-                            },
-                            // error callback
-                            function(e) {
-                                console.log("Error getting pos=" + e);
-                                setAudioPosition("Error: " + e);
-                            }
-                        );
-                    }, 1000);
-                }
-            }
-        
-            // Pause audio
-            // 
-            function pauseAudio() {
-                if (my_media) {
-                    my_media.pause();
-                }
-            }
-        
-            // Stop audio
-            // 
-            function stopAudio() {
-                if (my_media) {
-                    my_media.stop();
-                }
-                clearInterval(mediaTimer);
-                mediaTimer = null;
-            }
-        
-            // onSuccess Callback
-            //
-            function onSuccess() {
-                console.log("playAudio():Audio Success");
-            }
-        
-            // onError Callback 
-            //
-            function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
-                      'message: ' + error.message + '\n');
-            }
-        
-            // Set audio position
-            // 
-            function setAudioPosition(position) {
-                document.getElementById('audio_position').innerHTML = position;
-            }
-        
-            </script>
-          </head>
-          <body onload="onLoad()">
-            <a href="#" class="btn large" onclick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');">Play Audio</a>
-            <a href="#" class="btn large" onclick="pauseAudio();">Pause Playing Audio</a>
-            <a href="#" class="btn large" onclick="stopAudio();">Stop Playing Audio</a>
-            <p id="audio_position"></p>
-          </body>
-        </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/media.play.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/media.play.md b/docs/en/0.9.4/phonegap/media/media.play.md
deleted file mode 100644
index 962b98a..0000000
--- a/docs/en/0.9.4/phonegap/media/media.play.md
+++ /dev/null
@@ -1,165 +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.
----
-
-media.play
-==========
-
-Starts or resumes playing an audio file.
-
-    media.play();
-
-
-Description
------------
-
-Function `media.play` is a synchronous function that starts or resumes playing an audio file.
-
-Supported Platforms
--------------------
-
-- Android
-- iOS
-    
-Quick Example
--------------
-
-    // Play audio
-    //
-    function playAudio(url) {
-        // Play the audio file at url
-        var my_media = new Media(url,
-            // success callback
-            function() {
-                console.log("playAudio():Audio Success");
-            },
-            // error callback
-            function(err) {
-                console.log("playAudio():Audio Error: "+err);
-        });
-
-        // Play audio
-        my_media.play();
-    }
-
-
-Full Example
-------------
-
-        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                              "http://www.w3.org/TR/html4/strict.dtd">
-        <html>
-          <head>
-            <title>Media Example</title>
-        
-            <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-            <script type="text/javascript" charset="utf-8">
-        
-            // Wait for PhoneGap to load
-            //
-            function onLoad() {
-                document.addEventListener("deviceready", onDeviceReady, false);
-            }
-        
-            // PhoneGap is ready
-            //
-            function onDeviceReady() {
-                playAudio("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
-            }
-        
-            // Audio player
-            //
-            var my_media = null;
-            var mediaTimer = null;
-        
-            // Play audio
-            //
-            function playAudio(src) {
-                // Create Media object from src
-                my_media = new Media(src, onSuccess, onError);
-        
-                // Play audio
-                my_media.play();
-        
-                // Update my_media position every second
-                if (mediaTimer == null) {
-                    mediaTimer = setInterval(function() {
-                        // get my_media position
-                        my_media.getCurrentPosition(
-                            // success callback
-                            function(position) {
-                                if (position > -1) {
-                                    setAudioPosition((position/1000) + " sec");
-                                }
-                            },
-                            // error callback
-                            function(e) {
-                                console.log("Error getting pos=" + e);
-                                setAudioPosition("Error: " + e);
-                            }
-                        );
-                    }, 1000);
-                }
-            }
-        
-            // Pause audio
-            // 
-            function pauseAudio() {
-                if (my_media) {
-                    my_media.pause();
-                }
-            }
-        
-            // Stop audio
-            // 
-            function stopAudio() {
-                if (my_media) {
-                    my_media.stop();
-                }
-                clearInterval(mediaTimer);
-                mediaTimer = null;
-            }
-        
-            // onSuccess Callback
-            //
-            function onSuccess() {
-                console.log("playAudio():Audio Success");
-            }
-        
-            // onError Callback 
-            //
-            function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
-                      'message: ' + error.message + '\n');
-            }
-        
-            // Set audio position
-            // 
-            function setAudioPosition(position) {
-                document.getElementById('audio_position').innerHTML = position;
-            }
-        
-            </script>
-          </head>
-          <body onload="onLoad()">
-            <a href="#" class="btn large" onclick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');">Play Audio</a>
-            <a href="#" class="btn large" onclick="pauseAudio();">Pause Playing Audio</a>
-            <a href="#" class="btn large" onclick="stopAudio();">Stop Playing Audio</a>
-            <p id="audio_position"></p>
-          </body>
-        </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/media.release.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/media.release.md b/docs/en/0.9.4/phonegap/media/media.release.md
deleted file mode 100644
index 9952292..0000000
--- a/docs/en/0.9.4/phonegap/media/media.release.md
+++ /dev/null
@@ -1,153 +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.
----
-
-media.release
-=================
-
-Releases the underlying operating systems audio resources.
-
-    media.release();
-
-
-Description
------------
-
-Function `media.release` is a synchronous function that releases the underlying operating systems audio resources.  This function is particularily important for Android as there are a finite amount of OpenCore instances for media playback.  Developers should call the 'release' function when they no longer need the Media resource.
-
-Supported Platforms
--------------------
-
-- Android
-    
-Quick Example
--------------
-
-        // Audio player
-        //
-        var my_media = new Media(src, onSuccess, onError);
-        
-        my_media.play();
-        my_media.stop();
-        my_media.release();
-
-Full Example
-------------
-
-        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                              "http://www.w3.org/TR/html4/strict.dtd">
-        <html>
-          <head>
-            <title>Media Example</title>
-        
-            <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-            <script type="text/javascript" charset="utf-8">
-        
-            // Wait for PhoneGap to load
-            //
-            function onLoad() {
-                document.addEventListener("deviceready", onDeviceReady, false);
-            }
-        
-            // PhoneGap is ready
-            //
-            function onDeviceReady() {
-                playAudio("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
-            }
-        
-            // Audio player
-            //
-            var my_media = null;
-            var mediaTimer = null;
-        
-            // Play audio
-            //
-            function playAudio(src) {
-                // Create Media object from src
-                my_media = new Media(src, onSuccess, onError);
-        
-                // Play audio
-                my_media.play();
-        
-                // Update my_media position every second
-                if (mediaTimer == null) {
-                    mediaTimer = setInterval(function() {
-                        // get my_media position
-                        my_media.getCurrentPosition(
-                            // success callback
-                            function(position) {
-                                if (position > -1) {
-                                    setAudioPosition((position/1000) + " sec");
-                                }
-                            },
-                            // error callback
-                            function(e) {
-                                console.log("Error getting pos=" + e);
-                                setAudioPosition("Error: " + e);
-                            }
-                        );
-                    }, 1000);
-                }
-            }
-        
-            // Pause audio
-            // 
-            function pauseAudio() {
-                if (my_media) {
-                    my_media.pause();
-                }
-            }
-        
-            // Stop audio
-            // 
-            function stopAudio() {
-                if (my_media) {
-                    my_media.stop();
-                }
-                clearInterval(mediaTimer);
-                mediaTimer = null;
-            }
-        
-            // onSuccess Callback
-            //
-            function onSuccess() {
-                console.log("playAudio():Audio Success");
-            }
-        
-            // onError Callback 
-            //
-            function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
-                      'message: ' + error.message + '\n');
-            }
-        
-            // Set audio position
-            // 
-            function setAudioPosition(position) {
-                document.getElementById('audio_position').innerHTML = position;
-            }
-        
-            </script>
-          </head>
-          <body onload="onLoad()">
-            <a href="#" class="btn large" onclick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');">Play Audio</a>
-            <a href="#" class="btn large" onclick="pauseAudio();">Pause Playing Audio</a>
-            <a href="#" class="btn large" onclick="stopAudio();">Stop Playing Audio</a>
-            <p id="audio_position"></p>
-          </body>
-        </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/061df3e9/docs/en/0.9.4/phonegap/media/media.startRecord.md
----------------------------------------------------------------------
diff --git a/docs/en/0.9.4/phonegap/media/media.startRecord.md b/docs/en/0.9.4/phonegap/media/media.startRecord.md
deleted file mode 100644
index 4f5acae..0000000
--- a/docs/en/0.9.4/phonegap/media/media.startRecord.md
+++ /dev/null
@@ -1,138 +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.
----
-
-media.startRecord
-=================
-
-Starts recording an audio file.
-
-    media.startRecord();
-
-
-Description
------------
-
-Function `media.startRecord` is a synchronous function that starts recording an audio file.
-
-Supported Platforms
--------------------
-
-- Android
-- iOS
-    
-Quick Example
--------------
-
-    // Record audio
-    // 
-    function recordAudio() {
-        var src = "myrecording.mp3";
-        var mediaRec = new Media(src,
-            // success callback
-            function() {
-                console.log("recordAudio():Audio Success");
-            },
-            
-            // error callback
-            function(err) {
-                console.log("recordAudio():Audio Error: "+ err.code);
-            });
-
-        // Record audio
-        mediaRec.startRecord();
-    }
-
-
-Full Example
-------------
-
-    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                          "http://www.w3.org/TR/html4/strict.dtd">
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="phonegap-0.9.4.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for PhoneGap to load
-        //
-        function onLoad() {
-            document.addEventListener("deviceready", onDeviceReady, false);
-        }
-
-        // Record audio
-        // 
-        function recordAudio() {
-            var src = "myrecording.mp3";
-            var mediaRec = new Media(src, onSuccess, onError);
-
-            // Record audio
-            mediaRec.startRecord();
-
-            // Stop recording after 10 sec
-            var recTime = 0;
-            var recInterval = setInterval(function() {
-                recTime = recTime + 1;
-                setAudioPosition(recTime + " sec");
-                if (recTime >= 10) {
-                    clearInterval(recInterval);
-                    mediaRec.stopRecord();
-                }
-            }, 1000);
-        }
-
-        // PhoneGap is ready
-        //
-        function onDeviceReady() {
-            recordAudio();
-        }
-    
-        // onSuccess Callback
-        //
-        function onSuccess() {
-            console.log("recordAudio():Audio Success");
-        }
-    
-        // onError Callback 
-        //
-        function onError(error) {
-            alert('code: '    + error.code    + '\n' + 
-                  'message: ' + error.message + '\n');
-        }
-
-        // Set audio position
-        // 
-        function setAudioPosition(position) {
-            document.getElementById('audio_position').innerHTML = position;
-        }
-
-        </script>
-      </head>
-      <body onload="onLoad()">
-        <p id="media">Recording audio...</p>
-        <p id="audio_position"></p>
-      </body>
-    </html>
-
-
-iOS Quirks
-----------
-
-- The method name is `startAudioRecord` on iOS.


Mime
View raw message