You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/05/17 22:52:37 UTC

docs commit: Added WP7 Permissions

Updated Branches:
  refs/heads/master ec55d2ee6 -> 958d73682


Added WP7 Permissions


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/958d7368
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/958d7368
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/958d7368

Branch: refs/heads/master
Commit: 958d73682d3d2e426b91cb683afa3e4751204215
Parents: ec55d2e
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu May 17 13:51:44 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu May 17 13:51:44 2012 -0700

----------------------------------------------------------------------
 .../en/edge/cordova/accelerometer/accelerometer.md |    8 +++++++-
 docs/en/edge/cordova/camera/camera.md              |   10 +++++++++-
 docs/en/edge/cordova/compass/compass.md            |    8 +++++++-
 docs/en/edge/cordova/connection/connection.md      |    8 +++++++-
 docs/en/edge/cordova/contacts/contacts.md          |   10 ++++++++--
 docs/en/edge/cordova/device/device.md              |   10 +++++++++-
 docs/en/edge/cordova/events/events.md              |    2 +-
 docs/en/edge/cordova/file/file.md                  |    4 ++--
 docs/en/edge/cordova/geolocation/geolocation.md    |   12 +++++++++---
 docs/en/edge/cordova/media/media.md                |   14 ++++++++++++--
 docs/en/edge/cordova/notification/notification.md  |    2 +-
 docs/en/edge/cordova/storage/storage.md            |    4 ++--
 12 files changed, 74 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/accelerometer/accelerometer.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/accelerometer/accelerometer.md b/docs/en/edge/cordova/accelerometer/accelerometer.md
index 39984e8..682942c 100644
--- a/docs/en/edge/cordova/accelerometer/accelerometer.md
+++ b/docs/en/edge/cordova/accelerometer/accelerometer.md
@@ -81,4 +81,10 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+#### Properties/WPAppManifest.xml
+
+http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
+
+    <Capabilities>
+        <Capability Name="ID_CAP_SENSORS"/>
+    </Capabilities>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/camera/camera.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/camera/camera.md b/docs/en/edge/cordova/camera/camera.md
index 038fa23..3f65608 100644
--- a/docs/en/edge/cordova/camera/camera.md
+++ b/docs/en/edge/cordova/camera/camera.md
@@ -71,4 +71,12 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+#### Properties/WPAppManifest.xml
+
+http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
+
+    <Capabilities>
+        <Capability Name="ID_CAP_CAMERA"/>
+        <Capability Name="ID_CAP_ISV_CAMERA"/>
+        <Capability Name="ID_HW_FRONTCAMERA"/>
+    </Capabilities>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/compass/compass.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/compass/compass.md b/docs/en/edge/cordova/compass/compass.md
index 64d65ca..109712c 100755
--- a/docs/en/edge/cordova/compass/compass.md
+++ b/docs/en/edge/cordova/compass/compass.md
@@ -72,4 +72,10 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+#### Properties/WPAppManifest.xml
+
+http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
+
+    <Capabilities>
+        <Capability Name="ID_CAP_SENSORS"/>
+    </Capabilities>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/connection/connection.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/connection/connection.md b/docs/en/edge/cordova/connection/connection.md
index 7cdd126..75096c8 100644
--- a/docs/en/edge/cordova/connection/connection.md
+++ b/docs/en/edge/cordova/connection/connection.md
@@ -100,4 +100,10 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+#### Properties/WPAppManifest.xml
+
+http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
+
+    <Capabilities>
+        <Capability Name="ID_CAP_NETWORKING"/>
+    </Capabilities>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/contacts/contacts.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/contacts/contacts.md b/docs/en/edge/cordova/contacts/contacts.md
index d238900..bf6a837 100644
--- a/docs/en/edge/cordova/contacts/contacts.md
+++ b/docs/en/edge/cordova/contacts/contacts.md
@@ -20,7 +20,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 Contacts
 ========
 
-> The `contacts` object provides access to the device contacts database.  
+> The `contacts` object provides access to the device contacts database.
 
 Methods
 -------
@@ -86,4 +86,10 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+#### Properties/WPAppManifest.xml
+
+http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
+
+    <Capabilities>
+        <Capability Name="ID_CAP_CONTACTS"/>
+    </Capabilities>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/device/device.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/device/device.md b/docs/en/edge/cordova/device/device.md
index bfbca74..040ae24 100644
--- a/docs/en/edge/cordova/device/device.md
+++ b/docs/en/edge/cordova/device/device.md
@@ -80,4 +80,12 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+#### Properties/WPAppManifest.xml
+
+http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
+
+    <Capabilities>
+        <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
+        <Capability Name="ID_CAP_IDENTITY_DEVICE" />
+        <Capability Name="ID_CAP_IDENTITY_USER" />
+    </Capabilities>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/events/events.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/events/events.md b/docs/en/edge/cordova/events/events.md
index f7b1d94..2b2e4e3 100644
--- a/docs/en/edge/cordova/events/events.md
+++ b/docs/en/edge/cordova/events/events.md
@@ -80,4 +80,4 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+    No additional permissions required.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/file/file.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/file/file.md b/docs/en/edge/cordova/file/file.md
index 3dbf4d0..e3b13a3 100644
--- a/docs/en/edge/cordova/file/file.md
+++ b/docs/en/edge/cordova/file/file.md
@@ -20,7 +20,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 File
 ==========
 
->  This API is based on the W3C [File API](http://www.w3.org/TR/FileAPI). An API to read, write and navigate file system hierarchies. 
+>  This API is based on the W3C [File API](http://www.w3.org/TR/FileAPI). An API to read, write and navigate file system hierarchies.
 
 Objects
 -------
@@ -80,4 +80,4 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+    No additional permissions required.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/geolocation/geolocation.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/geolocation/geolocation.md b/docs/en/edge/cordova/geolocation/geolocation.md
index 856c740..fbbe6fc 100644
--- a/docs/en/edge/cordova/geolocation/geolocation.md
+++ b/docs/en/edge/cordova/geolocation/geolocation.md
@@ -20,9 +20,9 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 Geolocation
 ===========
 
-> The `geolocation` object provides access to the device's GPS sensor. 
+> 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. 
+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 Geolocation API Specification](http://dev.w3.org/geo/api/spec-source.html).  Some devices (Android, BlackBerry, Bada, Windows Phone 7 and webOS, to be specific) already provide an implementation of this spec.  For those devices, the built-in support is used instead of replacing it with Cordova's implementation.  For devices that don't have geolocation support, the Cordova implementation adheres to the W3C specification.
 
@@ -87,4 +87,10 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+#### Properties/WPAppManifest.xml
+
+http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
+
+    <Capabilities>
+        <Capability Name="ID_CAP_LOCATION" />
+    </Capabilities>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/media/media.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.md b/docs/en/edge/cordova/media/media.md
index a015627..3ee0c8b 100644
--- a/docs/en/edge/cordova/media/media.md
+++ b/docs/en/edge/cordova/media/media.md
@@ -20,7 +20,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 Media
 =====
 
-> The `Media` object provides the ability to record and play back audio files on a device. 
+> The `Media` object provides the ability to record and play back audio files on a device.
 
     var media = new Media(src, mediaSuccess, [mediaError], [mediaStatus]);
 
@@ -101,4 +101,14 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+#### Properties/WPAppManifest.xml
+
+http://msdn.microsoft.com/en-us/library/ff769509(v=vs.92).aspx
+
+    <Capabilities>
+        <Capability Name="ID_CAP_MEDIALIB" />
+        <Capability Name="ID_CAP_MICROPHONE"/>
+        <Capability Name="ID_HW_FRONTCAMERA"/>
+        <Capability Name="ID_CAP_ISV_CAMERA"/>
+        <Capability Name="ID_CAP_CAMERA"/>
+    </Capabilities>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/notification/notification.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/notification/notification.md b/docs/en/edge/cordova/notification/notification.md
index 07a08f0..cc2d60b 100644
--- a/docs/en/edge/cordova/notification/notification.md
+++ b/docs/en/edge/cordova/notification/notification.md
@@ -69,4 +69,4 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+    No additional permissions required.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/958d7368/docs/en/edge/cordova/storage/storage.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/storage/storage.md b/docs/en/edge/cordova/storage/storage.md
index 5e10317..3101e86 100644
--- a/docs/en/edge/cordova/storage/storage.md
+++ b/docs/en/edge/cordova/storage/storage.md
@@ -20,7 +20,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 Storage
 ==========
 
-> Provides access to the devices storage options.  
+> Provides access to the devices storage options.
 
 This API is based on the [W3C Web SQL Database Specification](http://dev.w3.org/html5/webdatabase/) and [W3C Web Storage API Specification](http://dev.w3.org/html5/webstorage/). Some devices already provide an implementation of this spec. For those devices, the built-in support is used instead of replacing it with Cordova's implementation. For devices that don't have storage support, Cordova's implementation should be compatible with the W3C specification.
 
@@ -86,4 +86,4 @@ Permissions
 
 ### Windows Phone
 
-    @TODO
+    No additional permissions required.