How can I code these adb commands
shumagel opened this issue · 2 comments
shumagel commented
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.
dmdhrumilmistry commented
You can use subprocess to call adb, but you need to set adb directory path first for the user
CourageTrain commented
When you say "adb usb" in command prompt- what does it mean?
Please provide code snapshots and more info