Custom camera using SurfaceView android with autofocus & auto lights & much more /** * @author Tatyabhau Chavan * */ public class Preview extends SurfaceView implements SurfaceHolder.Callback { private SurfaceHolder mHolder; private Camera mCamera; public Camera.Parameters mParameters; private byte[] mBuffer; private Activity mActivity; // this constructor used when requested as an XML resource public Preview(Context context, AttributeSet attrs) { super(context, attrs); init(); } public Preview(Context context) { super(context); init(); } public Camera getCamera() { ...
Comments
Post a Comment