title: this is my code which still show gprs available, im using simulator why it shows ?
body: <p>hi im usuing simulator for testing application but  when i run application, it still show gprs available any idea why?? in simulator there is no gprs then why its show gprs available?? what is ConnectivityManager.TYPE_MOBILE mean? is mean only gprs??</p>
  
  <pre><code>adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
   adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
    sp.setAdapter(adapter);
  
  sp.setOnItemSelectedListener(new OnItemSelectedListener() {
  
    public void onItemSelected(AdapterView&lt;?&gt; parent, View view, int position, long 
   id) {
  
  
  
      if (position == 0) 
  
      {
          final ConnectivityManager connMgr = (ConnectivityManager) 
                  getSystemService(Context.CONNECTIVITY_SERVICE);
  
           android.net.NetworkInfo mobile =
  
  
  connMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
           if( mobile.isAvailable() ){
              Toast.makeText(LoginScreen.this, " GPRS Connection Found "
   , Toast.LENGTH_LONG).show();
              }
           else if( !mobile.isAvailable() ){
  
                  Toast.makeText(LoginScreen.this, "No GPRS 
  Connection Found " , Toast.LENGTH_LONG).show();
                  }
  
      }
  
  
      if (position == 1) 
      {
          final ConnectivityManager connMgr = (ConnectivityManager)
                  getSystemService(Context.CONNECTIVITY_SERVICE);
  
          final android.net.NetworkInfo wifi =
          connMgr.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
          if( wifi.isAvailable() ){
              Toast.makeText(LoginScreen.this, " Wifi Found" ,   
   Toast.LENGTH_LONG).show();
              }
          else if( !wifi.isAvailable() ){
              Toast.makeText(LoginScreen.this, "No Wifi found " ,
    Toast.LENGTH_LONG).show();
              }
  
    }
  
  
  
  
      if (position == 3) 
  
      {
          final ConnectivityManager connMgr = (ConnectivityManager) 
      getSystemService(Context.CONNECTIVITY_SERVICE);
  
           BluetoothAdapter mBluetoothAdapter = 
      BluetoothAdapter.getDefaultAdapter();    
              if (mBluetoothAdapter.isEnabled()) {
                  Toast.makeText(LoginScreen.this, " BlueTooth Found" , 
     Toast.LENGTH_LONG).show();
  
              }else if( !mBluetoothAdapter.isEnabled() ){
                  Toast.makeText(LoginScreen.this, "No BlueTooth found " 
     , Toast.LENGTH_LONG).show();
                  }
  
      }
  
     }
     public void onNothingSelected(AdapterView&lt;?&gt; arg0) {
  
     }
  
   });
  </code></pre>