rachman Member Licensed User Longtime User May 22, 2022 #1 Dear All, I want to develop apps, with feature reboot, screen off and volume setup. Is there any script could I adopt to my apps? Thanks
Dear All, I want to develop apps, with feature reboot, screen off and volume setup. Is there any script could I adopt to my apps? Thanks
rachman Member Licensed User Longtime User May 27, 2022 #2 anyone have the solution for this ? Upvote 0
teddybear Well-Known Member Licensed User May 27, 2022 #3 App reboots phone you need to have super permission, what is your meaning the screen off? lock screen or dim phone brightness? lock screen you can see here , adjusting brightness you can use phone lib setBrightness. also you can setup volume using phone lib Upvote 0
App reboots phone you need to have super permission, what is your meaning the screen off? lock screen or dim phone brightness? lock screen you can see here , adjusting brightness you can use phone lib setBrightness. also you can setup volume using phone lib
Sagenut Expert Licensed User Longtime User May 27, 2022 #4 Check the code in this post for reboot https://www.b4x.com/android/forum/t...er-eseguire-reboot-android.121645/post-760485 Probably it will need some change, like the destination path for the file. Not tested by me. Upvote 0
Check the code in this post for reboot https://www.b4x.com/android/forum/t...er-eseguire-reboot-android.121645/post-760485 Probably it will need some change, like the destination path for the file. Not tested by me.
Erel B4X founder Staff member Licensed User Longtime User May 29, 2022 #5 Normal apps cannot reboot the phone. You can use the Phone library to change the volume. Upvote 0