1

I'm working on a WP Silverlight game with a timer, and so need to pause the game whenever something happens to take focus away from the app. However, the PhoneApplicationService events don't fire when alarms or reminders appear on the screen, nor when phone calls arrive.

I tried overriding OnGotFocus/OnLostFocus on the page used for the game screen, but they aren't called either when a reminder/alarm dialog appears. Which brings us back to my question -- what events or overrides will let me know when alarms, reminders or calls have taken focus so I can pause my game appropriately?

4

1 に答える 1

1

これはObscured イベントだと思います。このフォーラムの投稿これも参照してください。

于 2012-12-24T06:28:19.173 に答える