title: Print output of PING command as it is running in Android Studio
body: <p><a href="https://stackoverflow.com/questions/23608005/execute-shell-commands-and-get-output-in-a-textview">Execute shell commands and get output in a TextView</a></p>
  <p>I found the above solution while searching for answers but this just outputs the result of the ping command for me. My idea is similar to when you are executing PING on command prompt/terminal where you get a line by line output of statistics like latency, etc.</p>