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 Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to