Don't set SURFACE_TYPE_PUSH_BUFFERS.

Regards

On Nov 14, 10:01 am, Sean <[EMAIL PROTECTED]> wrote:
> I'm somewhat new to the Android platform. I've been digging around
> lots of sample code, and haven't seen anything that does what I want:
>
> I'd like to create my own code path for getting the camera data from
> the PreviewCallback, and then displaying it on my own SurfaceView,
> since I'd like to do some image processing of my own before display.
>
> Is there a best practice for calling startPreview() without having a
> real SurfaceView to draw on, since I want to draw on my own? Does it
> involve creating a hidden surface? If I don't set the Holder via
> setPreviewDisplay(), I get a crash in ViewRoot.draw(), which makes
> sense if it needs a surface set. What's the most efficient way to set
> a Holder that isn't seen?
>
> Thanks for anyone's input,
> Sean
>
> ps - I posted this to the beginner forum, but received no response, so
> I'm escalating it to the developer forum.
--~--~---------~--~----~------------~-------~--~----~
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