Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final Runtime runtime = Runtime.getRuntime();
- try {
- runtime.exec("su"); //or whatever command.
- }
- catch (IOException e) {
- e.printStackTrace();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement