Repository: flex-asjs
Updated Branches:
  refs/heads/develop a19e94e9a -> 64716973c


setting quality to 100 seems to get around getPicture crash bug on Android 4.1


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/64716973
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/64716973
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/64716973

Branch: refs/heads/develop
Commit: 64716973cd8dc43a63c7ff5a74c6d0d1cb854791
Parents: a19e94e
Author: Alex Harui <aha...@apache.org>
Authored: Tue May 6 21:24:58 2014 -0700
Committer: Alex Harui <aha...@apache.org>
Committed: Tue May 6 21:24:58 2014 -0700

----------------------------------------------------------------------
 examples/CordovaCameraExample/src/MyInitialView.mxml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/64716973/examples/CordovaCameraExample/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/CordovaCameraExample/src/MyInitialView.mxml 
b/examples/CordovaCameraExample/src/MyInitialView.mxml
index 319ff54..0ab3628 100644
--- a/examples/CordovaCameraExample/src/MyInitialView.mxml
+++ b/examples/CordovaCameraExample/src/MyInitialView.mxml
@@ -29,7 +29,7 @@ limitations under the License.
                        
                        public function snapPicture() : void
                        {
-                               cam.getPicture(success,failure,{quality:60, 
destinationType:org.apache.cordova.camera.Camera.DestinationType.FILE_URI});
+                               cam.getPicture(success,failure,{quality:100, 
destinationType:org.apache.cordova.camera.Camera.DestinationType.FILE_URI});
                        }
                        
                        private function success(data:Object):void

Reply via email to