Closed felixvolz closed 7 years ago
I have an App that uses both a GLSurfaceView overlaid over a SurfaceView that contains the feed from the Android devices camera
If I use the Android built in Screen Capture - I get a screenshot with the UI (from my GLSurfaceView) and the Camera Feed (see attached file)
I I use InstaCapture I get a screenshot with the UI (from my GLSurfaceView) BUT NO camera feed (only a black background - see attached file)
I also attached an image of the Activity layout showing it has two child views (GLSurfaceView20 and CameraSurface)
Am closing : this link answers my query
http://stackoverflow.com/questions/27817577/android-take-screenshot-of-surface-view-shows-black-screen
thanks
I have an App that uses both a GLSurfaceView overlaid over a SurfaceView that contains the feed from the Android devices camera
If I use the Android built in Screen Capture - I get a screenshot with the UI (from my GLSurfaceView) and the Camera Feed (see attached file)
I I use InstaCapture I get a screenshot with the UI (from my GLSurfaceView) BUT NO camera feed (only a black background - see attached file)
I also attached an image of the Activity layout showing it has two child views (GLSurfaceView20 and CameraSurface)