Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
甚至可能吗?如果需要root就好了。问题背后的原因是我想截取其他应用程序的屏幕截图,只发现这种需要活动的方式:https ://stackoverflow.com/a/10296881/634821
甚至可能吗?
不,它们在与您的进程不同的进程中运行——您无法从自己的进程中引用这些对象。
问题背后的原因是我想截取其他应用程序的屏幕截图
出于明显的隐私和安全原因,设备不支持此功能。欢迎您使用开发人员工具截取屏幕截图,正如您对问题的一些评论所表明的那样。