Android Question SetExactAndAllowWhileIdle restarting 1 minute late

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

I'm calling SetExactAndAllowWhileIdle with a long number representing a time such as 9:00:00 but my service restarts half of the times at 9:01 and the other half it's right on the mark.

Is anyone else having this happen. If so, please let me know what I'm doing wrong.

Thanks.
 
Last edited:

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Erel,

Thanks. Yes, the time is set correctly so I think I will set the rescheduling 30 seconds earlier and set a timer to check for the correct time to run the rest of the code in the service.
 
Upvote 0
Top