• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Scheduled task

id0001

Well-Known Member
Apr 20, 2010
142
23
Netherlands
Hi,

I have an app which needs to check if reservations you made are available once per day. Currently I am using the Alarm manager and a broadcast receiver to run this task periodically. The problem is, that when the app gets killed (by restarting the phone or releasing from memory, etc.), the task doesn't get fired anymore.

How can I make it so that the task gets fired even when the app isn't running?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones