No, you don't draw on the camera preview surface. You create a
transparent surface above it in the Z stack and draw on that.

On Jan 30, 5:31 pm, srajpal <[email protected]> wrote:
> I checked out the api demo, it helps to place the camera preview on
> top of the surface view, but the buffers are handid over to the camera
> so anything drawn on the canvas, which is received from the handler,
> is ignored.
>
> There must be some way.  I just don't know it yet.
>
> On Jan 30, 7:27 pm, Dianne Hackborn <[email protected]> wrote:
>
> > There is an Api Demo showing how to generally do this with a surface view.
> > It's very easy, since SurfaceView essentially operates like any other view
> > in terms of compositing.
>
> > On Fri, Jan 30, 2009 at 3:48 PM, srajpal <[email protected]> wrote:
>
> > > Does someone know how I can overlay an image over the camera preview?
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support.  All such questions should be posted on public
> > forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
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