I built an application where I need to do some queued up work periodically.
I was using JobScheduler
to run a periodic job, but I have several problems with it (smartmanager of samsung disables it, sometimes not running for a long time...)
For explanation: The user interacts with the app (click a button, take a photo...) and the app queues it in a sqlite database. The JobScheduler
is here to upload it periodically to our servers.
What is the best practice to achieve this?