title: Android: System bar won't hide. LogCat (No such file or directory; request rejected (service call activity 79 s16 com.android.systemui)
body: <p>I've got an self written app that shoult hide or restore the systembar. This app is running on an Samsung Galaxy Tab 10.1 (P7500). I've got two Tabs. One rooted with stock Galaxy ROM and one rooted with Overcome ROM.</p>
  
  <p>I looked at this tutorial to hide the bar ( <a href="http://android.serverbox.ch/?p=306" rel="nofollow">http://android.serverbox.ch/?p=306</a> )</p>
  
  <p>My methods look like this: </p>
  
  <pre><code>private void hideStatusBar() throws IOException, InterruptedException {
  Process proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity 79 s16 com.android.systemui"});
  proc.waitFor();
  }
  
  private void showStatusBar() throws IOException, InterruptedException {
  Process proc = Runtime.getRuntime().exec(new String[]{"am","startservice","-n","com.android.systemui/.SystemUIService"});
  proc.waitFor();
  }
  </code></pre>
  
  <p>If I click on my buttons an the methods are called I can see that something is happening because the app is waiting some seconds. I also looked into LogCat and see that something is happening.</p>
  
  <p>show: <a href="http://pastebin.com/CidTRSTi" rel="nofollow">http://pastebin.com/CidTRSTi</a> hide: </p>
  
  <p><a href="http://pastebin.com/iPS6Kgbp" rel="nofollow">http://pastebin.com/iPS6Kgbp</a></p>
  
  <p>I guess the problem with hide is in line 57</p>
  
  <p>So I tried an app in the market: TabBar Hider Demo ( <a href="https://market.android.com/details?id=com.tlalexander.tabletbarhiderdemo&amp;feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwiY29tLnRsYWxleGFuZGVyLnRhYmxldGJhcmhpZGVyZGVtbyJd" rel="nofollow">https://market.android.com/details?id=com.tlalexander.tabletbarhiderdemo&amp;feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwiY29tLnRsYWxleGFuZGVyLnRhYmxldGJhcmhpZGVyZGVtbyJd</a> )</p>
  
  <p>But here the same. The bar won't remove/hide. I also looked into LogCat</p>
  
  <p>show: <a href="http://pastebin.com/TuKXQ5qm" rel="nofollow">http://pastebin.com/TuKXQ5qm</a></p>
  
  <p>hide: <a href="http://pastebin.com/rWHFQV4u" rel="nofollow">http://pastebin.com/rWHFQV4u</a></p>
  
  <p>Same problem in line 51 (hide)</p>
  
  <p>Any hints?
  Thx B770</p>