开发者

Using timer in Windows Mobile during standby

I want to use a timer in a windows mobile app. Of course, this is not the problem.

The problem: the timer needs to be called even during standby and sleep mode.

Simply switching off the sleep mode is not really an option, since the app needs to comply to windows marketplace for mobiles requirements, and regarding to requirement 5.2 a marketplace app "shall not modify power management options".

Is there a system开发者_如何学运维 timer, which could be used to get an event called (like CeSetUserNotificationEx can be used to get an app started)?

Or how would I create a persistent timer?


CeRunAppAtTime can be used to set a named system event (not just to run an app). If the device is in sleep mode when that time arrives, it will wake.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜