Can I disable systemui From within my android app?
问题 I used this answer to achieve a Kiosk Mode for my app: https://stackoverflow.com/a/26013850 I rooted the tablet with Kingo Root and then performed the following commands: adb shell > su > pm disable com.android.systemui > I am building an app that will only be used on our devices as kiosks.... It works great BUT.. I would like to perform the disable and enable of the system ui from the Android application itself. Are system commands possible from within an application? 回答1: /** * Uses Root