Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, if i remember correctly SurfaceTexture is used in this method, you can comment it like this, comment the import, and it works with API 8 (but will have problems with API >= honeycomb, of course).

    public void setPreview() throws IOException {
        //    mCamera.setPreviewTexture( new SurfaceTexture(10) );