title: Active bluetooth on airplane mode
body: <p>I need to turn off the gsm network at my application but enable bluetooth.
  I know how to change to airplane mode <a href="https://stackoverflow.com/questions/5533881/toggle-airplane-mode-in-android">Toggle airplane mode in Android</a>, but is there a way to keep the bluetooth on (I know that them both working on radio signals), I think it's possible on android 4 cause I saw some application that doing it like "Auto Airplane".  </p>
  
  <p>I've tried the code below with no help:</p>
  
  <pre><code>Settings.System.putInt(context.getContentResolver(),
                  Settings.System.AIRPLANE_MODE_ON,1);
  Intent intent = new Intent(Intent.ACTION_AIRPLANE_MODE_CHANGED);
  intent.putExtra("state", 1);
  context.sendBroadcast(intent);
  
  BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
  mBluetoothAdapter.enable();
  </code></pre>
  
  <p>thank's,
  david</p>