Maybe you're right, in my case a reboot is the solution that I need, I have seen the documentation ... but I can not properly write the instruction to reboot. Would you be so kind as to post the code I need?
@thedesolatesoul, In my device when I press the button to shut off between, scrennshot, and offline, reboot ... I can not see the code to insert it through B4A?
How can I reboot a phone "no rooted" ???
Is it possible ??
If I try to use OSlibrary and Reboot command, the error is:
java.lang.SecurityException: Neither user 10138 nor current process has android.permission.REBOOT.
I have add AddPermission(android.permission.REBOOT)
to Manifest, but the error is the same
How can I reboot a phone "no rooted" ???
Is it possible ??
If I try to use OSlibrary and Reboot command, the error is:
java.lang.SecurityException: Neither user 10138 nor current process has android.permission.REBOOT.
I have add AddPermission(android.permission.REBOOT)
to Manifest, but the error is the same
@thedesolatesoul, In my device when I press the button to shut off between, scrennshot, and offline, reboot ... I can not see the code to insert it through B4A?
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.
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.