Last time we have successfully connected to devices. Now we can try to send some commands.
ADB commands are a lot like HTTP requests.
- Each request has a url called “service string” to specify it’s type.
- Simpler requests embed parameters in “service string”, like GET requests.
- More complex requests send extra data to the stream before daemon responses, just like POST requests.
But actually ADB streams are fully duplex, client and daemon can send data to each other at any time.
Let me explain it in more detail.