简体   繁体   English

你能写一个应用程序来记录 Android Java 中特定应用程序的屏幕吗?

[英]Can you write an app that records the screen of a specific app in Android Java?

I'm try to make an android app that records specify app's screen and audio.我正在尝试制作一个记录指定应用程序屏幕和音频的 android 应用程序。 How can I record the screen?如何录制屏幕?

Here's an example for using MediaProjection API for screen recording on Android: GoogleSource You can add Service class to run in a background check when a certain app package is opened.以下是在 Android 上使用 MediaProjection API 进行屏幕录制的示例: GoogleSource您可以添加 Service 类以在打开某个应用程序包时在后台检查中运行。 Here's an example to check an app running on Android.这是检查在 Android 上运行的应用程序的示例。 Stackoverflow Example Stackoverflow 示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM