dadb
dadb copied to clipboard
Usage on android
I want to ask. What is the effort to use it as an android library? is it even possible? I see the JVM target. Thank you. :)
You can check my demo project here:
- https://github.com/sharpordie/hisendal
- https://github.com/sharpordie/hisendal/blob/main/app/src/main/java/com/example/hisendal/Device.kt
Dadb lacks some features, like pair command support, so I now use this wonderful library:
- https://github.com/MuntashirAkon/libadb-android
You can also use this, it uses the real ADB binary compiled for Android:
- https://github.com/tytydraco/LADB/blob/main/app/src/main/java/com/draco/ladb/utils/ADB.kt
If you need iOS support, the work of wsvn53 is amazing:
- https://github.com/wsvn53/adb-mobile
Dadb lacks some features, like pair command support, so I now use this wonderful library:
- https://github.com/MuntashirAkon/libadb-android
You mentioned the library "libadb-android" for having the pair feature... does that mean I can use that library to pair and continue using dadb...?
I don't want to rewrite my whole application because it lacks the pair feature, if I can somehow pair device and continue using dadb, it would be greatly appreciated...
I could be doable, personally I rewrote everything using libadb-android because I had another issues with dadb.
I could be doable, personally I rewrote everything using libadb-android because I had another issues with dadb.
I tried libadb with dadb, pairing works but dadb wouldn't connect, I'm guessing because dadb doesn't use adb hosts file created by libadb...
I guess I should rewrite everything with libadb as well...