I have an app that with CountDownTimer that executes a piece of code at the given timeframe.
I have been researching the service and it seems that this may get killed depending on wether android needs more resources and/or if my process gets killed. Furthermore, it seems services run on the Main thread. Wouldn't this affect performance of my app?
My service is also listening for other broadcast and updates codes based on the return on these broadcast.
So what is the best way to move forward to keep this alive for 24 hours and is the Service the right approach.