If you're rooted you can add a reboot (from busybox let's say) and issue "reboot" command.
If you're rooted and want to add it to the poweroff menu(where the screenshot it etc..) then either you have to decompile your APM or use xposed framework to add it.
If you're rooted... but if you want to sell your app, you can not think that your buyers have the device rooted (EVEN for this reason I will never do this).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.