android - 在 Android 应用程序中使用 MonkeyRunner?

标签 android monkeyrunner

<分区>

Possible Duplicate:
Setup MonkeyRunner on Android

我需要能够从蓝牙设备等外部源执行 Android 输入事件,例如触摸、多点触摸、拖动等。我遇到了 MonkeyRunner,但我并不完全清楚它如何或是否对我有用。是否可以从蓝牙输入运行 MonkeyRunner 命令来模拟触摸输入?

如果不是 MonkeyRunner,是否还有其他一些 API 可以证明对我的需求有用?

谢谢!

最佳答案

I need to be able to execute Android input events such as touch, multi touch, drag, etc. from an external source such as a Bluetooth device.

这是不可能的,除非通过固件修改或可能 Root设备。

Would it be possible to run MonkeyRunner commands from Bluetooth input to simulate touch input?

没有。

If not MonkeyRunner, is there some other API that would prove useful for my needs?

没有。

关于android - 在 Android 应用程序中使用 MonkeyRunner?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9834642/

相关文章:

java - 用于 Wifi 状态的 Android Monkeyrunner 插件

user-interface - Monkey Runner是否需要任何脚本语言来运行

android - 在 Android 设备上以编程方式切换语言

android - onAccessibilityEvent 中的 getRootInActiveWindow() 始终为 null

android.support.design.button.MaterialButton 抛出 InflateException

android - 在 android API29+ 中检测来电和去电

android - monkeyrunner 在构造 shell 命令时不能正确处理特定字符

java - 如何使用 Monkeyrunner API 制作 Java 应用程序?

android - 如何在 android 布局中缩小图像的大小?

android - 质量检查系统词库