-
Notifications
You must be signed in to change notification settings - Fork 179
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
Is Adb Server possiblely convert to Java? #101
Comments
It's possible, but unwise. The problem is you work with the OS level USB interface to communicate with the device. I've never heard of such enterprise, but I'm pretty sure it can be done. Normally I would advice a language like C or perhaps C++ for this type of task. |
@mirfatif this implementation is already present in jadb. There is an almost complete server implementation used in the automatic tests. However, it still does not help with the original problem of talking directly to a phone only using java - You still need the USB parts. However, if there was a way to run via network, that would be awesome. In adb the adb damon is running on the phone, the adb server and client is running on the controlling computer. So in this case I guess either the adb server would need to run on the phone somehow, or if it is possible to create a adb daemon client. |
I'm just a hobbyist developer, so I can talk noobish.
Yeah that's the point. ADBLib client can connect to ADB daemon (
However there are some limitations I observed: tananaev/adblib#4. So is it possible to achieve the same with |
It's currently not possible as far as I know, but it should definitely be possible then. Still, there would be nice pure-java adb server. But instead we would connect to a adb server on the phone, or talk directly to the adb deamon. There is possibly another protocol in use there. |
I saw that the project is the client of Adb, it creates socket connection to Adb Server. Is it possible to make a Adb Server in Java?
The text was updated successfully, but these errors were encountered: