I've got an app on the market but a customer as pointed out a bug.
Basically install the app and restart the phone. Open the app choose new vehicle enter the mot tax and insurance dates and enter the alarm time. Switch off the screen and. The alarm fires up as it should. If I add a new vehicle dates and alarm time it won't fire again with the screen off unless the phone is rebooted.
Sorry DonManfred if it is not clear with me,
does it mean I will call to start the service every interval using StartServiceAt ?
in other words( the service will call itself to start itself (for example every 1 min?)
I am have an app that should not be killed. it works fine on earlier version but when installed at android 4.4, sometime it stop. i am using sticky service and StartServiceAt
No. startserviceat is a ONE-TIME-Shedule... If you set the time to 1 minute in future then the service will be killed and restarted at the given time.
It is up to the service to reshedule itself again with startserviceat AFTER the service has done it´s work...
1- svc gets started
2- svc do his work.
3- svc do a reshedule for itself with a new time. After calling the startserviceat the service get´s killed.
4- At the sheduled time (more or less exact) it goes back to "1- svc gets started"...