You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by de...@apache.org on 2012/03/30 15:46:57 UTC
docs commit: Purge references to BlackBerry OS 4.6
Updated Branches:
refs/heads/master 6b9480161 -> 63837941d
Purge references to BlackBerry OS 4.6
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/63837941
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/63837941
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/63837941
Branch: refs/heads/master
Commit: 63837941d2c376b8d89b822e9d0a464455955acc
Parents: 6b94801
Author: Drew Walters <de...@apache.org>
Authored: Fri Mar 30 08:46:14 2012 -0500
Committer: Drew Walters <de...@apache.org>
Committed: Fri Mar 30 08:46:14 2012 -0500
----------------------------------------------------------------------
docs/en/edge/phonegap/device/device.cordova.md | 3 +-
docs/en/edge/phonegap/device/device.name.md | 5 +--
docs/en/edge/phonegap/device/device.platform.md | 3 +-
docs/en/edge/phonegap/device/device.uuid.md | 3 +-
docs/en/edge/phonegap/device/device.version.md | 3 +-
docs/en/edge/phonegap/events/events.deviceready.md | 26 ---------------
.../geolocation/Coordinates/coordinates.md | 1 -
.../edge/phonegap/geolocation/Position/position.md | 3 +-
.../phonegap/geolocation/geolocation.clearWatch.md | 3 +-
.../geolocation/geolocation.getCurrentPosition.md | 1 -
.../geolocation/geolocation.watchPosition.md | 1 -
.../phonegap/notification/notification.alert.md | 7 +---
.../phonegap/notification/notification.beep.md | 1 -
.../phonegap/notification/notification.vibrate.md | 3 +-
14 files changed, 10 insertions(+), 53 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/device/device.cordova.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/device/device.cordova.md b/docs/en/edge/phonegap/device/device.cordova.md
index 1ad7eea..60606aa 100644
--- a/docs/en/edge/phonegap/device/device.cordova.md
+++ b/docs/en/edge/phonegap/device/device.cordova.md
@@ -14,7 +14,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
@@ -57,4 +56,4 @@ Full Example
<p id="deviceProperties">Loading device properties...</p>
</body>
</html>
-
\ No newline at end of file
+
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/device/device.name.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/device/device.name.md b/docs/en/edge/phonegap/device/device.name.md
index b2f1875..f0e281e 100644
--- a/docs/en/edge/phonegap/device/device.name.md
+++ b/docs/en/edge/phonegap/device/device.name.md
@@ -14,7 +14,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
@@ -24,7 +23,7 @@ Quick Example
// Android: Nexus One returns "Passion" (Nexus One code name)
// Motorola Droid returns "voles"
- // BlackBerry: Bold 8900 returns "8900"
+ // BlackBerry: Torch 9800 returns "9800"
// iPhone: All devices returns a name set by iTunes e.g. "Joe's iPhone"
//
var name = device.name;
@@ -76,4 +75,4 @@ iPhone Quirks
- Gets the [device's custom name](http://developer.apple.com/iphone/library/documentation/uikit/reference/UIDevice_Class/Reference/UIDevice.html#//apple_ref/doc/uid/TP40006902-CH3-SW13) instead of the [device model name](http://developer.apple.com/iphone/library/documentation/uikit/reference/UIDevice_Class/Reference/UIDevice.html#//apple_ref/doc/uid/TP40006902-CH3-SW1).
- The custom name is set by the owner in iTunes.
- - e.g. "Joe's iPhone"
\ No newline at end of file
+ - e.g. "Joe's iPhone"
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/device/device.platform.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/device/device.platform.md b/docs/en/edge/phonegap/device/device.platform.md
index 959970b..3d39950 100644
--- a/docs/en/edge/phonegap/device/device.platform.md
+++ b/docs/en/edge/phonegap/device/device.platform.md
@@ -9,7 +9,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
@@ -67,4 +66,4 @@ All devices return `iPhone` as the platform. This is inaccurate because Apple ha
BlackBerry Quirks
-----------------
-Devices may return the device platform version instead of the platform name. For example, the Storm2 9550 would return '2.13.0.95' or similar.
\ No newline at end of file
+Devices may return the device platform version instead of the platform name. For example, the Storm2 9550 would return '2.13.0.95' or similar.
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/device/device.uuid.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/device/device.uuid.md b/docs/en/edge/phonegap/device/device.uuid.md
index a20d1db..83164ac 100644
--- a/docs/en/edge/phonegap/device/device.uuid.md
+++ b/docs/en/edge/phonegap/device/device.uuid.md
@@ -14,7 +14,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
@@ -69,4 +68,4 @@ Full Example
<body>
<p id="deviceProperties">Loading device properties...</p>
</body>
- </html>
\ No newline at end of file
+ </html>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/device/device.version.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/device/device.version.md b/docs/en/edge/phonegap/device/device.version.md
index de8cc2f..5514123 100644
--- a/docs/en/edge/phonegap/device/device.version.md
+++ b/docs/en/edge/phonegap/device/device.version.md
@@ -9,7 +9,6 @@ Supported Platforms
-------------------
- Android 2.1+
-- BlackBerry
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
@@ -21,7 +20,7 @@ Quick Example
// Eclair OS would return "2.1", "2.0.1", or "2.0"
// Version can also return update level "2.1-update1"
//
- // BlackBerry: Bold 9000 using OS 4.6 would return "4.6.0.282"
+ // BlackBerry: Torch 9800 using OS 6.0 would return "6.0.0.600"
//
// iPhone: iOS 3.2 returns "3.2"
//
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/events/events.deviceready.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/events/events.deviceready.md b/docs/en/edge/phonegap/events/events.deviceready.md
index b9bcbae..5526047 100644
--- a/docs/en/edge/phonegap/events/events.deviceready.md
+++ b/docs/en/edge/phonegap/events/events.deviceready.md
@@ -64,29 +64,3 @@ Full Example
<body onload="onLoad()">
</body>
</html>
-
-BlackBerry (OS 4.6) Quirks
---------------------------
-
-Custom events are not supported in the RIM BrowserField (web browser view), so the `deviceready` event will never fire.
-
-A workaround is to manually query `cordova.available` until Cordova has fully loaded.
-
- function onLoad() {
- // BlackBerry OS 4 browser does not support events.
- // So, manually wait until Cordova is available.
- //
- var intervalID = window.setInterval(
- function() {
- if (cordova.available) {
- window.clearInterval(intervalID);
- onDeviceReady();
- }
- },
- 500
- );
- }
-
- function onDeviceReady() {
- // Now safe to use the Cordova API
- }
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/geolocation/Coordinates/coordinates.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/geolocation/Coordinates/coordinates.md b/docs/en/edge/phonegap/geolocation/Coordinates/coordinates.md
index 468037d..e4d8aea 100644
--- a/docs/en/edge/phonegap/geolocation/Coordinates/coordinates.md
+++ b/docs/en/edge/phonegap/geolocation/Coordinates/coordinates.md
@@ -23,7 +23,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry (OS 4.6)
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/geolocation/Position/position.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/geolocation/Position/position.md b/docs/en/edge/phonegap/geolocation/Position/position.md
index d410036..1b1c140 100644
--- a/docs/en/edge/phonegap/geolocation/Position/position.md
+++ b/docs/en/edge/phonegap/geolocation/Position/position.md
@@ -18,7 +18,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry (OS 4.6)
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
@@ -108,4 +107,4 @@ A workaround is to manually convert the timestamp to milliseconds (x 1000):
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/63837941/docs/en/edge/phonegap/geolocation/geolocation.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/geolocation/geolocation.clearWatch.md b/docs/en/edge/phonegap/geolocation/geolocation.clearWatch.md
index 2b9c24d..c345ac6 100644
--- a/docs/en/edge/phonegap/geolocation/geolocation.clearWatch.md
+++ b/docs/en/edge/phonegap/geolocation/geolocation.clearWatch.md
@@ -19,7 +19,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry (OS 4.6)
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
@@ -92,4 +91,4 @@ Full Example
<p id="geolocation">Watching geolocation...</p>
<button onclick="clearWatch();">Clear Watch</button>
</body>
- </html>
\ No newline at end of file
+ </html>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/geolocation/geolocation.getCurrentPosition.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/geolocation/geolocation.getCurrentPosition.md b/docs/en/edge/phonegap/geolocation/geolocation.getCurrentPosition.md
index b41ad03..4570dd7 100644
--- a/docs/en/edge/phonegap/geolocation/geolocation.getCurrentPosition.md
+++ b/docs/en/edge/phonegap/geolocation/geolocation.getCurrentPosition.md
@@ -24,7 +24,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry (OS 4.6)
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/geolocation/geolocation.watchPosition.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/geolocation/geolocation.watchPosition.md b/docs/en/edge/phonegap/geolocation/geolocation.watchPosition.md
index a6ae796..d13ac98 100644
--- a/docs/en/edge/phonegap/geolocation/geolocation.watchPosition.md
+++ b/docs/en/edge/phonegap/geolocation/geolocation.watchPosition.md
@@ -28,7 +28,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry (OS 4.6)
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/notification/notification.alert.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/notification/notification.alert.md b/docs/en/edge/phonegap/notification/notification.alert.md
index 59be7f7..e6626e7 100644
--- a/docs/en/edge/phonegap/notification/notification.alert.md
+++ b/docs/en/edge/phonegap/notification/notification.alert.md
@@ -19,7 +19,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry (OS 4.6)
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
@@ -39,10 +38,6 @@ Quick Example
'Game Over', // title
'Done' // buttonName
);
-
- // BlackBerry (OS 4.6) / webOS
- //
- navigator.notification.alert('You are the winner!');
Full Example
------------
@@ -91,4 +86,4 @@ Full Example
Windows Phone 7 Quirks
-------------
-- Ignores button names, always uses 'OK'
\ No newline at end of file
+- Ignores button names, always uses 'OK'
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/notification/notification.beep.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/notification/notification.beep.md b/docs/en/edge/phonegap/notification/notification.beep.md
index 2669ec2..23af68f 100644
--- a/docs/en/edge/phonegap/notification/notification.beep.md
+++ b/docs/en/edge/phonegap/notification/notification.beep.md
@@ -11,7 +11,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry (OS 4.6)
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7 ( Mango )
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/63837941/docs/en/edge/phonegap/notification/notification.vibrate.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/notification/notification.vibrate.md b/docs/en/edge/phonegap/notification/notification.vibrate.md
index aa92848..089190c 100644
--- a/docs/en/edge/phonegap/notification/notification.vibrate.md
+++ b/docs/en/edge/phonegap/notification/notification.vibrate.md
@@ -11,7 +11,6 @@ Supported Platforms
-------------------
- Android
-- BlackBerry (OS 4.6)
- BlackBerry WebWorks (OS 5.0 and higher)
- iPhone
- Windows Phone 7
@@ -81,4 +80,4 @@ iPhone Quirks
- __time:__ Ignores the time and vibrates for a pre-set amount of time.
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
+ navigator.notification.vibrate(2500); // 2500 is ignored