Does anyone have a working sample of such "thing"?
In theory it's a good idea to implement it this way but I didn't see any relevant piece of code which shows how to implement it.
I don't want anything fancy, the simpler the better. I just want to have everything related to camera control implemented on a separate thread.
Thanks
[edit]
more specific: like the official documentation states, "the recommended way to access the camera is to open Camera on a separate thread that's launched from onCreate()". Therefore what I need is a minimal implementation of a CameraPreview class extending AsyncTask (I assume).