Guest monikker Posted July 25, 2007 Report Posted July 25, 2007 I work on an application that needs to do some actions at exit. No problem when user exits it but what if phone is just turned off? I did some tests and it seems that neither WM_CLOSE nor WM_DESTROY are sent when phone is turned off. Is there any way to detect when phone is about to turn off? (Or even better is there a way to detect and delay this for a while?) Pavel
Guest Shuflie Posted July 27, 2007 Report Posted July 27, 2007 I'm not sure if this is possible or not, but could your application intercept the power button before it gets through to the operating system, close gracefully and then send a software power off command?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now