Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capture screen shot on Android phone when playing video and camera preview

I have two HTC phones, one is HTC desire and another is HTC aria. I'm using ddms to capture the screenshot on HTC desire before, it works fine. However recently I buy one HTC aria, and I found when doing screenshot on camera preview and video playing (e.g. youtube clips), the result goes black.

I think that might be some overlay issue, but just can't figure out how do capture screenshots on camera preview.

like image 623
clsung Avatar asked Nov 22 '10 01:11

clsung


1 Answers

Sorry, this is probably just not possible. Prior to Android 3.0, the DDMS screenshot facility was done by taking a copy of the framebuffer. For surfaces in an overlay (often the case with video playback), this doesn't exist in the framebuffer so can't be included in the screenshot.

like image 104
hackbod Avatar answered Sep 29 '22 00:09

hackbod