import java.io.IOException; import android.hardware.Camera; import android.hardware.Camera.PreviewCallback; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceView; public class CamL extends SurfaceView implements SurfaceHolder.Callback, PreviewCallback { Camera mCamera; boolean isPreviewRunning = false; Camera.PreviewCallback callback; CamLayer(GLCamTest cont..