It appears that you can create a bitmap from what is showing on the
screen via View.getDrawingCache() once View.setDrawingCacheEnabled()
is set to true. But it does not seems to work for the SurfaceView.
Is there a way to do it?
So it is not possible to take a snapshot of what is showing on the
SurfaceView? If it is possible, how would you do it?
On Mar 30, 5:48 pm, Dianne Hackborn <hack...@android.com> wrote:
> Sorry, by its nature a SurfaceView does not draw in the normal view
> hierarchy update system, so it won't be drawn in that.
>
> On Mon, Mar 30, 2009 at 3:45 PM, serveace6 <phucs...@gmail.com> wrote:
>
> > It appears that you can create a bitmap from what is showing on the
> > screen via View.getDrawingCache() once View.setDrawingCacheEnabled()
> > is set to true. But it does not seems to work for the SurfaceView.
> > Is there a way to do it?
>
> --
> Dianne Hackborn
> Android framework engineer
>
> 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.
Worked fine with ImageView
--
Lliane aka Simon Depiets
Epita Promo 2011,42
http://www.lliane.com
A man is smoking with his girlfriend. She angers herself : "don't you
see the warning on the box ?!"
To which the man replies, "I am a programmer. I don't worry about
warnings. I only worry about errors."