0

Possible Duplicate:
Toggle airplane mode in Android

Is there a way to turn airplane mode on or off with either a custom button or a dialogue box (preferred)?

In my application I'm telling the user whether or not he/she has a signal and to check for airplane mode being on or off, then give them the option to turn it off if it's on.

Is there any class/function/method available in Android to do this?

Community
  • 1
  • 1
cj1098
  • 1,560
  • 6
  • 32
  • 60
  • 1
    Possible duplicate of [android toggle airplane mode](http://stackoverflow.com/questions/5533881/android-toggle-airplane-mode). See also [How can one detect airplane mode on android?](http://stackoverflow.com/questions/4319212/how-can-one-detect-airplane-mode-on-android) Sidebar FTW – Matt Ball Jun 05 '11 at 04:02
  • thx! they both helped alot. I'm going to look into it now – cj1098 Jun 05 '11 at 04:10

0 Answers0