I need to do a icmp ping to a host from my android device. I need to measure the round trip time. I am proficient with android and java, just dont know what library to use.
you can use the open source code of terminal emulator available here
build the library(using cygwin and android-ndk) file and then use