Adb shell commands to change settings or perform tasks on a phone

后端 未结 4 1748
北荒
北荒 2020-12-13 07:22

How do I use adb to perform some automated tasks on my android phone? I need to find commands that I can issue from the command line (ideally, using a .bat file) that will

4条回答
  •  清歌不尽
    2020-12-13 08:08

    MonkeyRunner also looks like it has promise, though I haven't dug deep enough to find its limits yet.

    Android ScreenCast lets you view and control your device's screen from your PC, which also has potential for automation. It does have present some logistical issues for that application, though.

    By the way, you can get past the locked homescreen with a MENU keyevent and a set of sendevents (in place of keyevents).

提交回复
热议问题