Android 开发基础 Android 中怎么模拟鼠标键盘输入

TestMonkey · February 12, 2020 · 1508 hits

求教:
期望使用 Espresso 或者 uiautomator 等框架来模拟 键盘鼠标;
真正调用鼠标的接口(最起码鼠标要出现在屏幕上),而不是像 ViewAction 里面的方法一样模拟
Ps Android 手机连接鼠标后,会像 PC 一样出现箭头,调用 Espresso 的 ViewAction 里面的方法没有这样的效果,该如何调用?

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up