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.
是否可以从服务触发硬件事件?至少,我希望模拟轨迹球运动和点击事件,以便活动应用程序正常处理它们。
非常感谢。
我不这么认为,当然希望不会。那将是一个严重的安全问题。
如果您只是使用 JUnit 等进行测试,那么这可以通过检测类进行。