I am having a problem with service and timer.
I have created a service that is supposed to do some job in background after each specified interval.
I works perfect while device is on, but when device is restarted then I want to run the service according to the specified interval only, means it should keep track how much time was passed when device was shutdown so when device is powered on it should wait for remaining time and then do the specified job.
But what it does now, it just started the service from beginning as device is restarted.
If any one is having some idea how it can be done then please help me.