but it has an error on the SurfaceTexture line because that object didn't exist on API 8 yet. i want to compile Tutorial 1 using API 8, and not API 11 by default.
it also has an error here:
if (FocusModes.contains(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO))
{
params.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO);