title: How to hide navigation bar on Android phonegap
body: <p>I'm trying to hide the navigation bar on phonegap but without success.</p>
  
  <p>I manage to do it in a native application using</p>
  
  <pre><code>WebView webview = new WebView(this);        
  webview.setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION); 
  setContentView(webview);
  </code></pre>
  
  <p>On phonegap nothing seems to work. I've tried the following without success</p>
  
  <pre><code>getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
  getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
  WindowManager.LayoutParams.FLAG_FULLSCREEN);
  ViewGroup view = (ViewGroup)getWindow().getDecorView();
  view.setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
  super.loadUrl(Config.getStartUrl());  
  </code></pre>
  
  <p>Thanks</p>