摘要:
1、添加Camera权限2、判断是否支持变焦public boolean isSupportZoom() { boolean isSuppport = true; if (mCamera.getParameters().isSmoothZoomSupported()) { isSuppport = false; } return isSuppport; }3、修改焦距public void setZoom() { if (mIsSupportZoom) { ... 阅读全文