Anything on this yet?
I have just run some tests. My device is one of those that does not support Hardware.ScreenOn. I tried to wake up device with BackLightOn and KeepAlive. These actually seem to work once the device is "awake."
However, in another related thread, Erel said:
You can't run any code while the device is suspended (OS design).
Herein lies my problem from
this thread, and probably the same problem with the alarm clock app in this thread. Once the device is suspended no code will run. That is, you can trigger your app through RunAppAtEvent and RunAppAtTime events but the app will not actually run. It is waiting to run.
Placing any of the "wake up" functions even at the very beginning of your app will not help since the app will not even load until after the device wakes up. This also means CableGuy's suggestion of simulating a keypress wouldn't work either.
If applications cannot load and no code will run while the device is suspended, then how does my device wake up for:
alarms?
appointments?
phone calls?
And even Sprite Backup faithfully starts on schedule while the device is asleep.