I have been able to perform rudimentary pings in android and have been able to get the result using Processes in android. My code is as follows
try{
String pingCmd ="ping -s 100 -c 10 "+ host;
String pingResult ="";
Runtime r =Runtime.getRuntime();
Process p = r.exec(pingCmd)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.