See if the following helps:
http://groups.google.com/group/android-developers/browse_thread/thread/d8587b4b2139a85

On Oct 22, 9:18 am, Hack <[email protected]> wrote:
> Using the camera preview example as a starting point, I've managed to
> get my application displaying what my camera is focused on, but I'm
> running in to some problems when I try to draw overlays.
>
> I'm able to get the camera preview working with a surface of type
> SURFACE_TYPE_PUSH_BUFFERS, but the documentation tells me I'm not
> allowed to lock (and subsequently modify) that type of buffer.
> Because I can't get a surface of any other type to receive the camera
> preview, I can't figure out how draw on the same surface the camera is
> modifying.
>
> I've looked in to copying the camera surface to another, modifiable
> surface, but haven't had any luck with that.
>
> Does anyone have any tips or info?
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to