Skip to content

Instantly share code, notes, and snippets.

@letroll
Created February 5, 2018 08:46
Show Gist options
  • Select an option

  • Save letroll/3484de8fa8c2d28b884120b16d0bb74d to your computer and use it in GitHub Desktop.

Select an option

Save letroll/3484de8fa8c2d28b884120b16d0bb74d to your computer and use it in GitHub Desktop.
[être notifié des connexions/déconnexions adb] Comment faire en bash pour être notifier des connexions <-> déconnexions d'appareils Android #adb #android #bash #netcat
pour être notifié des connexions/déconnexions adb sans poller `adb devices`, on peut parler avec le démon directement :
```netcat localhost 5037 <<< 0012host:track-devices
```
(pratique pour effectuer une action dès qu'un nouveau device est connecté
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment