Android examples for android.hardware:Camera Feature
is Camera Auto Exposure Lock Supported
import android.hardware.Camera.Parameters; public class Main { public static final String TRUE = "true"; private static final String AUTO_EXPOSURE_LOCK_SUPPORTED = "auto-exposure-lock-supported"; public static boolean isAutoExposureLockSupported(Parameters params) { return TRUE.equals(params.get(AUTO_EXPOSURE_LOCK_SUPPORTED)); }/* w w w. j a v a2 s .co m*/ public static boolean equals(Object a, Object b) { return (a == b) || (a == null ? false : a.equals(b)); } }