I don't know about the DrawingCache. However if all you want is to
draw your view to a bitmap, that's pretty easy: create a new bitmap,
wrap it in a new Canvas(theBitmap) and call your view.onDraw with this
canvas.

R/

On Wed, Oct 28, 2009 at 3:04 AM, Samuh <[email protected]> wrote:
>
> I am trying to take a screen shot of whatever is drawn on my custom
> view's canvas. I use the following lines for the same:

--~--~---------~--~----~------------~-------~--~----~
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