0

Execute shell commands and get output in a TextView

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.

  • Use a ping object? There are a variety of ping utilities/frameworks for different languages on different platforms. .net has the [Ping](https://learn.microsoft.com/en-us/dotnet/api/system.net.networkinformation.ping?view=net-6.0) class. Oracle has a [Java example too](https://docs.oracle.com/javase/8/docs/technotes/guides/io/example/Ping.java) – SimonC Jul 26 '22 at 12:44
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Aug 03 '22 at 17:26

0 Answers0