You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2012/04/05 22:56:17 UTC
docs commit: Refs CB-427. Updating docs with additional camera options
Updated Branches:
refs/heads/master 2d687cbab -> b5a6075b9
Refs CB-427. Updating docs with additional camera options
Added correctOrientation and saveToPhotoAlbum and updated quirks sections with support/non-support info
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/b5a6075b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/b5a6075b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/b5a6075b
Branch: refs/heads/master
Commit: b5a6075b9560bb5fc0cb3a74dc1b569519e0d93a
Parents: 2d687cb
Author: Becky Gibson <be...@apache.org>
Authored: Thu Apr 5 16:49:14 2012 -0400
Committer: Becky Gibson <be...@apache.org>
Committed: Thu Apr 5 16:53:21 2012 -0400
----------------------------------------------------------------------
.../edge/cordova/camera/parameter/cameraOptions.md | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/b5a6075b/docs/en/edge/cordova/camera/parameter/cameraOptions.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/camera/parameter/cameraOptions.md b/docs/en/edge/cordova/camera/parameter/cameraOptions.md
index 6c2414b..9e0afdb 100644
--- a/docs/en/edge/cordova/camera/parameter/cameraOptions.md
+++ b/docs/en/edge/cordova/camera/parameter/cameraOptions.md
@@ -50,6 +50,9 @@ Options
VIDEO: 1, // allow selection of video only, WILL ALWAYS RETURN FILE_URI
ALLMEDIA : 2 // allow selection from all media types
};
+
+- __correctOrientation:__ Rotate the image to correct for the orientation of the device during capture. (`Boolean`)
+- __saveToPhotoAlbum:__ Save the image to the photo album on the device after capture. (`Boolean`)
Android Quirks
--------------
@@ -57,6 +60,8 @@ Android Quirks
- Ignores the `allowEdit` parameter.
- Camera.PictureSourceType.PHOTOLIBRARY and Camera.PictureSourceType.SAVEDPHOTOALBUM both display the same photo album.
- Camera.EncodingType is not supported.
+- Ignores the `correctOrientation` parameter.
+- Ignores the `saveToPhotoAlbum` parameter.
BlackBerry Quirks
-----------------
@@ -67,6 +72,8 @@ BlackBerry Quirks
- Application must have key injection permissions to close native Camera application after photo is taken.
- Using Large image sizes may result in inability to encode image on later model devices with high resolution cameras (e.g. Torch 9800).
- Camera.MediaType is not supported.
+- Ignores the `correctOrientation` parameter.
+- Ignores the `saveToPhotoAlbum` parameter.
Palm Quirks
-----------
@@ -75,8 +82,10 @@ Palm Quirks
- Ignores the `sourceType` parameter.
- Ignores the `allowEdit` parameter.
- Camera.MediaType is not supported.
+- Ignores the `correctOrientation` parameter.
+- Ignores the `saveToPhotoAlbum` parameter.
-iPhone Quirks
+iOS Quirks
--------------
- Set `quality` below 50 to avoid memory error on some devices.
@@ -87,4 +96,6 @@ Windows Phone 7 Quirks
--------------
- Ignores the `allowEdit` parameter.
+- Ignores the `correctOrientation` parameter.
+- Ignores the `saveToPhotoAlbum` parameter.
\ No newline at end of file