String cmd_execute = "am start -n package name/package name.activity name";
try {
Process child = Runtime.getRuntime().exec(cmd_execute);
Log.i("info", "execute command");
} catch (IOException e) {
e.printStackTrace();
}
No comments:
Post a Comment