String command 是 rm /sdcard/xxx.jpg
public void execCommand(String command){
System.out.println("execCommand
..");
Process proc = null;
try {
Runtime runtime = Runtime.getRuntime();
proc = runtime.exec(command);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}
public void execCommand(String command){
System.out.println("execCommand


Process proc = null;
try {
Runtime runtime = Runtime.getRuntime();
proc = runtime.exec(command);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}