I\'ve tried to handle ZoomIn/ZoomOut at \'s4 zoom\' device in my camera record application. Because it does support only regular zoom, i.e parameters.isZoomSupported()
I have already found solution for Smooth control of Shutter lens on Samsung S4 Zoom device.
Set device in smart mode: parameters.set("mode", "smart-auto");
For Zoom In start: parameters.set("zoom-action", "optical-tele-start");
For Zoom Out start: parameters.set("zoom-action", "optical-wide-start");
For Zoom action stop: parameters.set("zoom-action", "zoom-stop");
Shutter speed: parameters.set("zoom-speed", 1); //1,2,...
Don't forget save parameters in the Camera instance mCamera.setParameters(parameters);
This works fine in my device, shutter now is silent and smooth. :) Regards.
Also, in order to get current zoom value, use this code:
Parameters parameters = mCamera.getParameters();
List<Integer> zoom_list = parameters.getZoomRatios();
int val = 0;
if(isSamsungS4Zoom){
//FOR S4 ZOOM
mZoomVal = parameters.getInt("curr_zoom_level");
val = zoom_list.get(mZoomVal);
}else{
val = zoom_list.get(mZoomVal);
}