Taking a screenshot of phone screen programmatically with xamarin

拜拜、爱过 提交于 2021-01-29 18:56:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!