Android调用外部程序

Runtime run = Runtime.getRuntime();   
String cmdText="cmd.exe /c ipconfig/n ping "+strIpName;
Process process = run.exec(cmdText); 
调用外部程序

你可能感兴趣的:(android,String)