-1

Is it possible to get a screenshot of an activity containing a texture view showing camera preview and an image over the texture view? Creating bitmaps resulted in blacked out background screens and could not find any solution for such a case in the previously asked questions.

Or any in built support for getting screenshots of my application activity?

1 Answers1

0

As SurfaceView uses OpenGL thread for drawing and draws directly to a hardware buffer. You have to use glReadPixels.

you can refer this thread : Android OpenGL Screenshot

i hope this will work for you

Chetan Ansel
  • 398
  • 2
  • 20