Reboot MK 802 Android mini

rworner

Member
Licensed User
Longtime User
I am trying to programmatically reboot an Android mini pc. I am using the device to display dynamic webpages using webviews. Every now and then the system gets out of sync. I end up having to unplug and then replug the device to get it to recover. I want to set the device up to reboot once a day. Other discussions involved root access on phones. That is not an issue here.

Thanks
 

rworner

Member
Licensed User
Longtime User
Take a look at THIS library, it might help.

I tried:
Dim OS As OperatingSystem
OS.Initialize("OS")
OS.reboot(Null)

And got an error message - "Neither user 10108 nor current process has android.permission.REBOOT"

So I added this line to the manifest:
<uses-permission android:name="android.permission.REBOOT"/>

when I reran it I got the same message.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…