tarek360 / Instacapture

Android library to capture screenshot from your app
694 stars 113 forks source link

Query - Can InstaCapture capture Android Camera Feed #13

Closed felixvolz closed 7 years ago

felixvolz commented 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)

screenshot-21-12-2016_16-45-47 456 capture screenshot_2016-12-21-16-57-50

felixvolz commented 7 years ago

Am closing : this link answers my query

http://stackoverflow.com/questions/27817577/android-take-screenshot-of-surface-view-shows-black-screen

tarek360 commented 7 years ago

thanks