2

我是 android 新手,请告诉我如何使用 monkeyrunner Jython 脚本在任何应用程序上生成 mouseclick 事件。请给我一些提示,如何编写mouseclick事件的代码。

提前致谢...!!!

4

2 回答 2

1

There are no any such way to Generate the MouseClick in MonkeyRunner using the Jython Script. Because using this script we can generate only touch event and key press event. So try to generate mouseclick event is the waisting your time...!!!

于 2012-01-16T06:06:16.483 回答
0

http://developer.android.com/guide/developing/tools/MonkeyDevice.html#touch有关于 MonkeyRunner.MonkeyDevice 的触摸方法的信息。您可能还想阅读该指南的更多内容,以了解 monkeyrunner 的工作原理。

于 2011-10-06T18:36:46.273 回答