简体   繁体   中英

Capture whole android screen from service without root

I need to capture whole android screen from service code and save bitmap to sd card. I dont have root, so cant use framebuffer. And I cant depend on debug server.

There is ASL http://code.google.com/p/android-screenshot-library/ , but is there a way to do that without installing some native service, only from my code?

幸运的是,出于明显的隐私和安全原因,这是不可能的。

您可以让您的应用具有透明视图。因此,当将要截取屏幕截图时,该应用会打开该视图,然后对该视图进行屏幕截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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