There is a broadcast intent to indicate the user activated airplane mode.
http://code.google.com/android/reference/android/content/Intent.html#ACTION_
AIRPLANE_MODE_CHANGED

As for activating it yourself or monitoring radio states, I haven't delved
deep enough to provide info on that.


-----Original Message-----
From: android-developers@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jose Vasconcellos
Sent: Friday, October 24, 2008 10:06 PM
To: Android Developers
Subject: [android-developers] Running an activity w/o external
communications


I would like to run an activity only if all communication paths (e.g.
gsm, wifi, bluetooth) are disabled. Is that possible?

A related questions, how to disable wireless communications? Is that
not a requirement in order to use android in a plane?




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to