You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/04/06 10:20:36 UTC

docs commit: Fixed CB-243 - Camera.getPicture examples assume DATA_URL destination type

Updated Branches:
  refs/heads/master 962a3caa7 -> 1d7b6c7e5


Fixed CB-243 - Camera.getPicture examples assume DATA_URL destination type


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

Branch: refs/heads/master
Commit: 1d7b6c7e5d9e87ec14563a34639dd66b2db45e0e
Parents: 962a3ca
Author: Shazron Abdullah <sh...@gmail.com>
Authored: Fri Apr 6 01:20:26 2012 -0700
Committer: Shazron Abdullah <sh...@gmail.com>
Committed: Fri Apr 6 01:20:26 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/cordova/camera/camera.getPicture.md |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/1d7b6c7e/docs/en/edge/cordova/camera/camera.getPicture.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/camera/camera.getPicture.md b/docs/en/edge/cordova/camera/camera.getPicture.md
index 1b13131..5fe5cd7 100644
--- a/docs/en/edge/cordova/camera/camera.getPicture.md
+++ b/docs/en/edge/cordova/camera/camera.getPicture.md
@@ -38,7 +38,9 @@ Quick Example
 
 Take photo and retrieve Base64-encoded image:
 
-    navigator.camera.getPicture(onSuccess, onFail, { quality: 50 }); 
+    navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+        destinationType: Camera.DestinationType.DATA_URL
+     }); 
 
     function onSuccess(imageData) {
         var image = document.getElementById('myImage');