Never tried it, but first thing I would try is to just make a Bitmap
the size of the screen, construct a Canvas using the constructor that
takes a Bitmap, then get the Window from the Activity, then get the
decor View from that, and pass the Canvas to its onDraw.

On Oct 30, 8:58 pm, sdphil <[email protected]> wrote:
> i know you can't take a screenshot without having root access, but is
> there a way to render an activity and all the contents to an image
> file?
>
> anyone have code to do this?
>
> it would be nice to have any dialogs, menus, etc... as well, but not
> required.
>
> tia.

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