I came across a related but simpler article: Full remote access to Android device
But before trying to evaluate all that is recommended there, wanted to see if there is really any existing solutions that meet these requirements, whether Android device is rooted or not:
- remote access to device (preferably SSH/telnet and VNC)
- provides terminal access to manage device, not just VNC or remote access device's UI
- ability to query running apps to know if an app crashed or stopped running (best if this can be queried remotely or via terminal, not tapping through the UI)
- ability to query if device is sending/receiving data over the network (another way to check of app crash or stop working), again w/o having to tap thru UI - via remote query or terminal
- ability to start up an installed app if it's not currently running, with a remote query or terminal, not tapping thru UI
- solution ideally runs like a daemon w/o having user start up app to allow remote access, user accepting prompts to allow access, and having app be in foreground or running but minimized in background
basically I'm looking for scriptable automation and remote access we've come to love on a PC platform but for Android, to manage Android test devices. Is this wishful thinking on my part, or such solution does exist?