inside a .bat file: @adb shell "dumpsys activity activities | grep ResumedActivity"@adb shell ...
From a linux (WSL) host adb shell su -c "tcpdump -U -w - " | "C:\Program Files\Wireshark\Wires...