Hello :) Sorry for my English, I use the Google translator.
I ask about a small application that I'm doing. This is a custom control panel with the things I most use my own phone, you know, something to personalize it a bit I put a direct button to call my home, a shortcut to the music player, another for a given e-mail address, etc.. Now I want to put a button to turn on airplane mode to at night, but this is where I'm confused. I found a lot about AIRPLANE_MODE_CHANGED, which I understand is used to detect changes in airplane mode, but can not get anything to work, or what I find or what I do ... or do nothing or give forced closure. At this point I should clarify that I'm using the permissions of the manifest (android.permission.WRITE_SETTINGS, android.permission.WRITE_SECURE_SETTINGS ...) I really do not want a button that I change the status, what I want is a button that simply activate an airplane mode. Someone would have an explanation or example of how I can do this? Thank you very much in advance for everything and kind regards :) -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en