Enable Flight mode with out disabling the wifi and bluetooth in android
<p>I want to enable Flight mode but if i enable flight mode i cant able to use bluetooth , wifi. my purpose is to restrict only  the receiving call and sms related things.</p>

<p>I tried the following, but its not working;</p>

<pre><code>Settings.System.putString(getContentResolver(),
           Settings.System.AIRPLANE_MODE_RADIOS, "cell,bluetooth");
</code></pre>

<p>can any one help me in this</p>
