Using Job Scheduler in Android API <21

后端 未结 7 1942
臣服心动
臣服心动 2020-12-13 06:27

I was looking at a scheduling tutorial by Vogella. It mentions the Job Scheduler API that was introduced in API 21 of Android. My question is can it be implemented i

相关标签:
7条回答
  • 2020-12-13 07:03

    You can take a look at the JobSchedulerCompat library.

    However, as the authors points out, there's a reason why JobScheduler is only available from Lollipop and onwards, so pay attention to that. Quoting:

    However, this library has not been well-tested, so I would advise not using in production at this time. There are no guarantees that this will not run down your battery or cause your device to explode.

    0 讨论(0)
提交回复
热议问题