• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. C

    Apps Reboot via code?

    Hey Im trying to implement a reboot in my app for root users but the code below does not work. The SU prompt pops up but when i allow the action nothing happens, it will not reboot. Any ideas why? try { Runtime.getRuntime().exec("su"); Runtime.getRuntime().exec("reboot"); } catch...