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?