Open wuxudong opened 10 years ago
Yes, socket communication is sequential and blocking, but ADB multiplexes multiple streams over the same socket. This is why the separate thread and hash map are necessary. The connection thread reads from the socket and puts the data in the appropriate stream. The connection thread also handles authentication requests which aren’t stream-related at all.
I got your meanings. Thanks a lot. Is there any java implementation of adb file-sync protocol (adb push/pull) ? I can't find one.
Hello I am a newbie in android. There are several question about adblib.