i used the first approach, and once the picture is taken, i launch a
new activity.
the current activity (that your camera preview is running) will go
into onPause() onDestroy() phase depends on what you do, u can stop
the camera preview there.

On Tue, Oct 28, 2008 at 1:02 PM, Alvin Yates <[EMAIL PROTECTED]> wrote:
>
> Still trying to figure this out, but not getting anywhere on it.
>
> Does taking a picture using the camera only require creating the
> Camera.PictureCallback for onPictureTaken() and passing it into
> Camera.takePicture() as an input?  Or do you have to stop the preview,
> lock the canvas, and convert/extract data from there to get it into a
> writable form?
>
> I'm fine with the first one, but completely confused as to how to do
> the latter.
>
> Also, is taking pictures in the emulator functional or not?  I tried
> to run CameraApiTest and it crashes hard whenever I hit spacebar, even
> though I have an SD card instantiated.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to