Search code examples
androidandroid-jobscheduler

Synching Data on App Installation


I am successfully using JobScheduler to sync online data into my app at regular intervals.

My question is if it is possible to run the JobScheduler as soon as the app is installed rather than having to wait until the main activity is created?


Solution

  • No, sorry. First, nothing runs as soon as the app is installed. Second, you do not control when JobScheduler runs its jobs.