Hi Group

I have an application in which I am using the camera. I want to
perform ZOOM on this camera, but unable to do so.

My code looks like that.

Camera        _camera;
Camera.Parameters parameters = _camera.getParameters();
_zoom = _zoom + zoomStep;   // zoomStep is some int value
int _zoom = parameters.getInt("zoom");
if( _zoom < /**Some value / )
                        _zoom = MIN_ZOOM;
if( _zoom >/* Some value*/ )
                        _zoom = MAX_ZOOM;

parameters.set("zoom", _zoom);
_camera.setParameters(parameters);

I also searched about this in Google, but did not get any satisfactory
information.

Note: zoomCallback is missing in Android 2.1

Thanks,
AJ

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to