I am trying to control the power-off events. My requirement is, when power-off button is clicked send a SMS out. Once the SMS is sent out (RunL is called of SMS Sender Active Object), continue the power-off sequence. That is, till the SMS is sent out phone should not shut-down.
I am able to trap the power-off events in HandleWsEvents as well as in HandleSystemEventL. But these functions doesnt allows me to suspend the power-off sequence till I am done with SMS sending.
I am trying this on 3rd Edition. Please throw a light on this subject.