Samsung s4 zoom does not support smooth zoom isSmoothZoomSupported()==false

前端 未结 2 979
一个人的身影
一个人的身影 2021-01-14 23:50

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()

2条回答
  •  悲&欢浪女
    2021-01-15 00:02

    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.

提交回复
热议问题