Twice Power Button Press Sends Sms
I am trying to create an application that could respond when the power button is pressed. To be more specific, which would respond to it when pressed 2 times and sends the SMS. I t
Solution 1:
I think you should call your event when the system(Android) shut downs that way you'll be able to intercept button pressed like event.
I recomend you build a broadcast receiver to catches the ACTION_SHUTDOWN intent and after that in the onReceive() method you can do what ever you like.
Post a Comment for "Twice Power Button Press Sends Sms"