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.
有人可以分享使用 Monkeyrunners broadcastIntent 方法的示例。例如,使用特定网页运行浏览器。
谢谢
准确地说,广播意图将触发广播接收器。 如果你想从 monkeyrunner 启动浏览器,你可以使用下面提到的代码
def browse(d): d.broadcastIntent("http://www.google.com/", "ACTION_MAIN")