Skip to content

Instantly share code, notes, and snippets.

@davidyen1124
davidyen1124 / monkeyrunner_browser.py
Last active Dec 22, 2015 — forked from AaronMT/gist:3172633
Use Android Monkey Runner to open Browser application on every attached device.
View monkeyrunner_browser.py
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
import os
devices = os.popen('adb devices').read().strip().split('\n')[1:]
package = 'com.android.browser'
activity = 'com.android.browser.BrowserActivity'
for serial in devices:
You can’t perform that action at this time.