Hello and thanks for the book! (My first programming book!),
I'm trying to Take Picture and save it as JPEG file on SDcard.
1) I assume that Picture Saving process is happening within:
//TODO Handle jpeg image data
However, what do we do inside:
//TODO Handle RAW image data
2) Also, by
// TODO Do smth with the preview image I assume You mean:
1. Create smth to Click
2. So that when you click takePicture() is called.
(am I right?)
When do we stopPreview()?
3) When do we startPreview()?
-Let's say I have a menu on my welcome screen with buttons.
-When I click on "Take Picture" we start the Camera, setParams, and startPreview.(?)
-preview is playing... then we click on
[KeyEvent.KEYCODE_DPAD_CENTER]
-takePicture is called (?). I dont exactly know what takePicture() does, but I assume it returns some bytes.
-And those bytes are PictureCallback???

Is this the right scenario?
SOS,
sm12