Well, recently I've continued camera app again. Thanks for this topic as I remembered that frames cannot be captured without UI (SurfaceView).
I found that there are some changes: starting from API 11 a component SurfaceTexture is available.
See here: http://stackoverflow.com/questions/5...t-surface-view http://stackoverflow.com/questions/2...xtureview?lq=1
So I think it would be possible to capture frames without showing them in 1x1 pixel box. Добавлено через 46 минут
Also you may look at this page: http://stackoverflow.com/questions/2...t-preview?lq=1
, it describes how to take a picture with a temporary SurfaceView. Добавлено через 17 часов 9 минут
O-la-la, it seems a SurfaceView takes too much CPU time for it's maintenance. I measured time for a fullscreen SurfaceView (130 ms per frame) and 1x1 dp (60 ms per frame).