I’m very doomed today! I’m serious - I am. Firstly I’ve got the tension to get this project done by Christmas, and then that heck AlarmManager, it’s dooming up my life! I went around with Handlers, TImerTasks and realized that none of them can work in the background. Now this is my aim:
Set an alarm that sends an intent to start an activity after fifteen minutes.
Once that alarm has completed execution - another alarm is set for two minutes
This alarm launches another activity and also starts the 15 minute alarm.
This continues on till the alarms are cancelled manually.
That is the logic, but none of it helps. I’m so sad right now! I need someone to write some code. Please do. I went all over Stack Overflow, and there is no genius who can answer that. I believe someone here can help. My life has turned to hell now!