I'm attempting to remove the navigation bar programatically using the most commonly found method on the internet - however the navigation bar continues to appear.
I've debugged the method and it is not throwing an exception - so I'm really not sure why we can't seem to hide the Navigation Bar using the following code:
(any suggestions are greatly appreciated)
Source:
try
{
Process proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity 42 s16 com.android.systemui"});
proc.waitFor();
}
catch(Exception ex)
{
//Toast.makeText(getApplicationContext