How to reboot an Android device(QT for Android)
Unsolved
Mobile and Embedded
-
wrote on 17 May 2021, 09:26 last edited by
On Linux, the following is valid:
QProcess::execute("/bin/busybox reboot -f");
QProcess::execute("reboot");
But it doesn't work on Android.
After I use the adb tools to test, (adb shell reboot)the restart is effective -
On Linux, the following is valid:
QProcess::execute("/bin/busybox reboot -f");
QProcess::execute("reboot");
But it doesn't work on Android.
After I use the adb tools to test, (adb shell reboot)the restart is effective -
wrote on 17 May 2021, 09:52 last edited by
Ok i will try it, thx
1/3