Swind / pure-python-adb

This is pure-python implementation of the ADB client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I code these adb commands

shumagel opened this issue · 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.

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

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