问题
I am trying to take a screenshot of my android device programmatically.
I have found dozens of Questions and posts, years old and not current. For example: How to programmatically take a screenshot on Android?
The Approach works in the way of taking a screenshot of my main application window. But I I want to take a screenshot of the whole device including other apps!
example:
Instead of the "Internal Storage" + Control overlay, the original app is recorded or alternatively, the tiny view of the control overlay.
Anyone an idea on how to record the current screen? I'm fairly sure there must be solutions as there are apps out there such as the following screen recorder: https://play.google.com/store/apps/details?id=videoeditor.videorecorder.screenrecorder&hl=en
来源:https://stackoverflow.com/questions/63283453/taking-a-screenshot-of-phone-screen-programmatically-with-xamarin