I'd like to be notified when a call/sms is received, so that my game can be switched to pause mode. The thing is the onresize trick doesn't work in fullscreen since the window isn't resized. I tried to listen to focus/blur events on the window, without any luck.

Is there a way to be notified of phone call ?