[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-20 Thread blindfold
The problem possibly caused by using GLSurfaceView (from the API Demos) as a preview surface. Is it possible to avoid that? Don't know, I use a SurfaceView but no OpenGL, so maybe the hardware acceleration and buffers on the G1 make the difference when using OpenGL. I have no experience with

[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-19 Thread Mark K
I don't think this is possible. Doesn't seem like Android supports 'headless' graphics implementations. Mark On Dec 19, 7:35 am, Boshik bos...@gmail.com wrote: Hi Guys, Is it possible to capture camera snapshots to bitmaps WITHOUT creating a visible surface view?

[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-19 Thread blindfold
Is it possible to capture camera snapshots to bitmaps WITHOUT creating a visible surface view? All samples I saw over internet uses camera preview directly to a surface view and the surface view underneath must be visible. Just do not use setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS) and