[android-developers] Re: render an activity to an image file.

2010-10-31 Thread Lance Nanek
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

Re: [android-developers] Re: render an activity to an image file.

2010-10-31 Thread Dianne Hackborn
On Sun, Oct 31, 2010 at 3:13 AM, Lance Nanek lna...@gmail.com wrote: 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