Skip to content Skip to sidebar Skip to footer

Screenshot In Android

The following is the code I am using to take a screen shot using GLSurfaceView. But I dont know why the onDraw() method in the GLSurfaceView.Renderer Class is not being called. Ple

Solution 1:

Although you create the surfaceview, you don't set it to be the current contentview

setContentView(mGLView);

Also, you are creating the screenshot every single frame, which is very inefficient and probably not what you'll want..

Post a Comment for "Screenshot In Android"