RunAppAtEvent, RunAppAtTime - Anyone REALLY got it working?
RunAppAtEvent, RunAppAtTime
Anyone have a completed project that utlizes these methods sucessfully? I've tried several different ways and nothing is consistent.
For example, I use the RunAppAtEvent with the WakeUp event which should trigger my app at power on but as soon as my device goes to sleep or I press the power button, the app is triggered.
When I use RunAppAtTime my app is triggered but if the device is asleep at trigger if starts the app and then nothing. I cannot use ScreenOn apparently because that generates an error. So since code does not run when device is asleep the app just starts and then waits forever.
I even tried using a little helper app that runs in background instead of using the notifications. With the helper app I tried both timer and sleep to wait for the time to start my project but as soon as the device sleeps the helper app is dead also.