• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. P

    Apps How to get Unix timestamp while pinging in Android

    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)...