title: How to hide android status bar just for my application on Android Tabs2 fro Android version4.0.3?
body: <p>Can any one please tell me any way to hide status bar completely just for my application on all activities. My application only runs on android tabs with 4.0.3 Android. I actually want to remove the back, home and all the other click listeners on the status bar or just completely hide it. The requirement behind this is that if once my application starts on a tab it stays on until user switches off the device device and there should not be any exit point. I will be grateful for your humble response. I have added android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" manifest.xml.Still not able to disable the status bar. My activity class is given below</p>
  
  <pre><code>package com.plugin.myapp;
  import org.apache.cordova.CordovaWebView;
  import org.apache.cordova.CordovaWebViewClient;
  import org.apache.cordova.DroidGap;
  import org.apache.cordova.CordovaChromeClient;
  
  import android.content.res.Configuration;
  import android.os.Bundle;
  import android.os.Handler;
  import android.os.Message;
  import android.view.View;
  import android.view.Window;
  import android.view.WindowManager;
  import android.webkit.WebView;
  
  public class MainActivity extends DroidGap  {
       private static MainActivity instance;
  
      // private WebView mWebView;
      @Override
      public void onCreate(Bundle savedInstanceState) {            
          super.onCreate(savedInstanceState);   
          super.init(); 
  
          //getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE);
          getWindow().getDecorView().setSystemUiVisibility(View.STATUS_BAR_HIDDEN);
          super.loadUrl("file:///android_asset/www/tdc_tutorial.html");
  
      }
   // handler for the background updating
      Handler progressHandler = new Handler() 
      {
          public void handleMessage(Message msg) 
          {
              getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
          }
      };
      @Override
      public void onConfigurationChanged(Configuration newConfig) {
          // TODO Auto-generated method stub
          super.onConfigurationChanged(newConfig);
  
          System.out.println("onConfigurationChanged");
      }
    @Override
      public void init() {
      super.init((CordovaWebView) new WebView(this), new GWTCordovaWebViewClient(this), new CordovaChromeClient(this));
      }
  
     @Override
      public void onBackPressed() {
          // TODO Auto-generated method stub
          //super.onBackPressed();
      } 
  
     /* (non-Javadoc)
       * @see org.apache.cordova.DroidGap#onConfigurationChanged(android.content.res.Configuration)
       */
  
  }
  </code></pre>
  
  <p>and my manifest.xml is given below</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.plugin.myapp"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
       &lt;uses-sdk
          android:minSdkVersion="15"
          android:targetSdkVersion="15" /&gt;
  
      &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /&gt;
      &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.RECORD_AUDIO" /&gt;
      &lt;uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /&gt;
      &lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_CONTACTS" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
      &lt;uses-permission android:name="android.permission.BROADCAST_STICKY" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;supports-screens     
        android:largeScreens="true"    
        android:normalScreens="true"    
        android:smallScreens="true"  
        android:xlargeScreens="true"  
        android:resizeable="true"    
        android:anyDensity="true"
  
        /&gt; 
  
      &lt;application
          android:icon="@drawable/ic_launcher"
          android:label="Android Test"
          android:theme="@android:style/Theme.NoTitleBar.Fullscreen" &gt; 
  
  
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/title_activity_main"            
              android:screenOrientation="sensorLandscape"
              android:configChanges="orientation"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt; 
  </code></pre>