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

后端 未结 4 1746
北荒
北荒 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:12

    The Java example you show is for a program that is running on the phone itself. You might be able to program some kind of an interpreter on the phone that handles adb commands. That way you are not dependent anymore on keyevents. This is not a minor undertaking, however.

提交回复
热议问题