setexactandallowwhileidle

  1. rleiman

    Android Question Putting a service to sleep

    Hi Everyone, I'm trying to get my head around scheduling services to wake up then make it sleep. Can you look at my code because this simple app gets stuck in a loop waking up over and over again as soon as it is woken up using SetExactAndAllowWhileIdle. This indicates I'm missing some coding...
  2. rleiman

    Android Question using SetExactAndAllowWhileIdle without the need for notifications

    Hi Everyone, I would like to use SetExactAndAllowWhileIdle without needing to also use notifications. Everything goes well with SetExactAndAllowWhileIdle such as rescheduling the startup of a service and it starts up very close to being on time. The service is sticky...
  3. rleiman

    Android Question Using SetExactAndAllowWhileIdle to set 5 different wakeup times

    Hi Everyone, I'm using SetExactAndAllowWhileIdle to set up a single wakeup time. Can it be used to set 5 different wakeup times? In other words can it be called multiple times with different longs and there will be a wakeup on each of them? Thanks.
  4. rleiman

    Android Question SetExactAndAllowWhileIdle restarting 1 minute late

    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.
  5. rleiman

    Android Question Stopping a service that's rescheduled to restart

    Hi Everyone, I'm calling a service from an activity. That activity has a button to start the service and another button to stop it. In the called service I'm using SetExactAndAllowWhileIdle to reschedule the service so it continues to run. Same thing happens when using StartServiceAtExact from...
Top