Need set zoom for camera preview...
Yep, and let me slightly one-up you by pointing straight at the latest version of this. I've improved zoom handling since. http://code.google.com/p/zxing/source/browse/trunk/android/src/com/google/zxing/client/android/camera/CameraConfigurationManager.java
Sean Owen
2010-04-11 09:52:09
A:
I'm pretty sure the zxing code wont work on the Samsung Galaxy. The Camera.getParams() it returns do not contain any "zoom-supported" item.
Nor are there any "max-zoom" or "taking-picture-zoom-max" params on my Samsung Epic (a Galaxy S family model).
There is a "digi-zoom" but I dont find any info on it's usage.
mmeyer
2010-10-04 23:32:58
A:
(I'm the developer.) I agree with both answers above. Before Android 2.2 there is no "real" zoom API and some devices don't have an unofficial API that I can guess. You can try a Froyo build I'm working on that does use the real zoom API to see if it works. If it does I can share the code privately.
Sean Owen
2010-10-05 14:42:02