This is not currently possible.

On Mar 25, 11:11 am, denzel <dimitri.deroc...@gmail.com> wrote:
> Hello,
>
> I want to receive the data from the preview of the Camera, but without
> having to set a SurfaceView with a SurfaceHolder in the view of my
> application.
>
> I want to do something like this:
>
> Camera cam = Camera.open();
> cam.setPreviewCallback(new MyPreviewCallback());
> cam.startPreview();
>
> This will not work because I need to call setPreviewDisplay
> (SurfaceHoler) before I start the preview. I can get a SurfaceHolder
> from a SurfaceView, but I don't want a SurfaceView, because I don't
> need one. I just want to handle the preview data by myself. Any idees
> on how to deal with this?
>
> Thanks in advance!
>
> Denzel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to