-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to execute simple adb commands not abd shell ones? #65
Comments
This project is direct communicate with adb service. If you want to communicate with adb client, just use |
Thanks for your quick reply. Actually I don't know the difference between adb shell and adb but I have been able to send my command using |
adb.exe is adb client. It communicates with adb service to process commands. This project is a csharp version of adb client to connect with adb server directly. var adbSocketFactory = Factories.AdbSocketFactory;
var EndPoint = new IPEndPoint(IPAddress.Loopback, AdbClient.AdbServerPort);
using IAdbSocket socket = adbSocketFactory(EndPoint);
await socket.SendAdbRequestAsync("your command", cancellationToken);
AdbResponse response = await socket.ReadAdbResponseAsync(cancellationToken);
string result = await socket.ReadStringAsync(cancellationToken); I haven't found the list of adb service command. I only known that if you want to send |
What can we do for you?
Hello,
Is there a way to send simple adb commands?
I would like to retrieve a folder from my device but I can't find a way to do it.
Thank you.
The text was updated successfully, but these errors were encountered: