Committing for consideration since I really think this is a win. Issue 283.
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 26 Nov 2009 01:47:04 +0000 (01:47 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 26 Nov 2009 01:47:04 +0000 (01:47 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1127 59b500cc-1b3d-0410-9834-0bbf25fbcc57

android/src/com/google/zxing/client/android/CameraManager.java

index 8b7ae73..48b3c55 100755 (executable)
@@ -335,6 +335,9 @@ final class CameraManager {
     // This is the standard setting to turn the flash off that all devices should honor.
     parameters.set("flash-mode", "off");
 
+    parameters.set("zoom", "2.0");
+    parameters.set("taking-picture-zoom", "20");
+
     camera.setParameters(parameters);
   }