Hello and thanks for the book! (My first programming book!),
I'm trying to Take Picture and save it as JPEG file on SDcard.
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
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()?
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?