Airplane Mode Receiver in Manifest?

view full story

http://stackoverflow.com – I am working on developing an Android app that will be used as a handheld controller in an industrial environment. In order to make the tablet less desirable to take home, I was going to try and programatically turn on Airplane Mode all the time but that was deprecated in 4.2, which is also the version we are using in order to have Android Open Accessory. However I was thinking that if I could register a receiver within the manifest such that it will launch my app anytime Airplane Mode is changed and then check if it is off and prompt the user to turn it back on. I have tried this following (HowTos)