android ping ip 是WaitFor()阻塞问题
public int executeCommand(final String command, final long timeout) throws IOException, InterruptedException, TimeoutException { Process process = Runtime.getRuntime().exec("ping -c 3 -w 100
转载
2014-11-20 14:54:37 ·
4615 阅读 ·
0 评论