pure-python-adb icon indicating copy to clipboard operation
pure-python-adb copied to clipboard

How can I code these adb commands

Open shumagel opened this issue 2 years ago • 3 comments

Hello!! Thank you for your code. I really enjoy it. But recently I neeed to refresh a device. So this command works good. "adb usb" in command prompt. But In ppadb How can I use above command? Than above thing "adb start-server", "adb kill-server", "adb reconnect".. etc How do I make code with above things..? Please let me know the way to deal with above commands Thank you.

shumagel avatar Jul 06 '22 06:07 shumagel

You can use subprocess to call adb, but you need to set adb directory path first for the user

dmdhrumilmistry avatar Jul 22 '22 18:07 dmdhrumilmistry

When you say "adb usb" in command prompt- what does it mean? Please provide code snapshots and more info

CourageTrain avatar Aug 31 '22 04:08 CourageTrain