Actually, android.provider.Settings is just used to persist the on/off state across reboot. It is not as useful as it looks. Changing these values will only have an effect on startup.
In the case of Bluetooth, there is no SDK API to immediately turn it off/on quite yet. I am pretty sure there is an SDK API to turn WIFI and Telephony off/on, i'll leave the relevant teams to chip in, although i'm sure its not hard to find in the SDK docs. Nick On Thu, Feb 5, 2009 at 1:24 PM, Mark K <[email protected]> wrote: > > > You can use android.provider.Settings, see the SDK docs. > > Mark > > On Feb 4, 2:14 am, Kamal Hasan <[email protected]> wrote: > > Hi, > > > > Programatically how to switch off Radio, bluetooth and wifi in > > android ? > > Can I enable airplane mode ? > > > > Kamal > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

