What device and Android version are you using? Some of the later releases have restricted non-system applications from controlling the Airplane Mode state - but you've already got Secure Settings, so that should be able to get around that limitation.
The thread includes a few different approaches, so try them out and see what works best for you. Just remember that you may need to replace any reference to Airplane Mode with an action which calls Secure Settings > Root Actions > Airplane Mode instead.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.