Capture screen shot on Android phone when playing

2019-06-20 17:54发布

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.

1条回答
手持菜刀,她持情操
2楼-- · 2019-06-20 18:28

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.

查看更多
登录 后发表回答