Can I reboot phone without root access on b4a?

300 views Asked by At

How to reboot phone without root access on b4a? Only need root access with ML library?

Code:

Sub Globals
         Dim M as MLfiles
End Sub

Sub Activity_Create(FirstTime As Boolean)
       M.GetRoot
       M.RootCmd("reboot","",Null,Null,False)
End Sub
1

There are 1 answers

1
Omid Aghakhani On

I know that we have to use this permission in our project for use reboot