Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
S2-group
GitHub Repository: S2-group/android-runner
Path: blob/master/examples/batterymanager/Scripts/before_run.py
908 views
1
import time
2
3
4
# noinspection PyUnusedLocal
5
def main(device, *args, **kwargs):
6
device.shell('am start -n "com.example.batterymanager_utility/com.example.batterymanager_utility.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER')
7
time.sleep(5)
8
9
10