How do I hide the system bar in android 3.0(honeycomb)?
Asked
Active
Viewed 9,971 times
4 Answers
4
The systembar cannot be removed (on non-rooted devices). You can go into "lights out mode" which dims it and only shows dots where the buttons are using the following code (ref):
View v = findViewById(R.id.view_id);
v.setSystemUiVisibility(View.STATUS_BAR_HIDDEN);
This was also asked before here, remember to search first.

Community
- 1
- 1

stealthcopter
- 13,964
- 13
- 65
- 83
2
I tested some ways to kill system bar:
- Kill by adb shell: - su; ps, look for com.android.systemui; kill - success, sys-bar removed.
- Settings, "Sytem UI" force stop - success, sys-bar removed.
- Root explorer, delete /system/app/systemui.apk - got circle of error messages "com.android.systemui crashed, blabla...". Reboot, tablet started without system bar, no any errors, so success.
- My app: Code: android.os.Process.killProcess(android.os.Process.getUidForName("com.android.systemui")); failed, as expected, because my app can not kill process started by another app.
- My app:
permission - android.permission.KILL_BACKGROUND_PROCESSES
Code:
final Context context = getApplicationContext();
servMng = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
servMng.killBackgroundProcesses("com.android.systemui");
Failed, no idea why. - Run script in my app to execute "ps", look for PID and execute "kill", not tested.

Brad Larson
- 170,088
- 45
- 397
- 571

Exclipt
- 21
- 1
2
We tinkered around with Honeycomb and found a way to hide and restore the bar, although root is required here. You can find a detailed answer in our article here.

mdc
- 21
- 1
1
Hiding the systembar in honeycomb can be done with Hide Bar. The home page is at http://ppareit.github.com/HideBar/. The code can be found at https://github.com/ppareit/HideBar.

ppareit
- 423
- 5
- 5