I'm currently developing an augmented reality application in android. Textured openGL object is drawn over the camera view. I had tried so many methods to take the screen shot of android openGL view (GLSurfaceview). But no success. I want the screenshot with transparent background so that I could draw it over camera image to produce an ARImage. Can any one help me? I know that I have to read the pixels of opengl using glReadPixels() function. I tried it using GL\_RGBA mode and created bitmap (used ARGB\_8888 and RGB\_565). Using ARGB\_8888 format I'll get a transparent image with no object and in RGB\_565 mode I'll get a image filled with black color. Can any one guide me? Thanks in advance.

Thanks,
Midhun