Questions tagged [android-job]

For using android-job as an alternative to low level schedulers built into android.

An utility library for Android to run jobs delayed in the background. Depending on the Android version either the JobScheduler, GcmNetworkManager or AlarmManager is getting used.

39 questions
0
votes
0 answers

Migration from Evernote Job to Workmanager

We are using https://github.com/evernote/android-job for our app for background sync. Now we have planned to move to Workmanager. My question is, with our new build we will include classes related to workmanager and remove classes related to…
Aram
  • 952
  • 1
  • 8
  • 30
0
votes
1 answer

Setting interval in Evernote Android-jobs for less than 15 minutes

I am using Evernote Android Jobs library to schedule task on my Android 8.1.0. The default minimum interval of periodic jobs is 15 minutes which is making debugging time-consuming. I found an article which says that we can use …
Falcon
  • 372
  • 4
  • 20
0
votes
1 answer

What does this log mean?

I scheduled a job at 20:23 (GMT 5:30 included). int jobId = DailyJob.schedule(new JobRequest.Builder(XXXXX_DAILY_JOB_TAG), 0, TimeUnit.HOURS.toMillis(20)); I am trying to schedule a daily job from midnight 00:01 am to 20:00 (8:00 pm). I notice the…
Anurag Singh
  • 6,140
  • 2
  • 31
  • 47
0
votes
1 answer

How to set the exact time to android job for a daily job at fixed time?

I am trying to schedule the job which will run at 10 PM daily. I tried to use the setExact method and provide the milliseconds by converting 22 hours to milliseconds and for testing I executed the app and changed the system time to 10 PM but the job…
Sid
  • 2,792
  • 9
  • 55
  • 111
0
votes
1 answer

Android-Job run every time device is plugged in

In my Android app I need to run a background service every time the device is plugged in and idle (it should start after the user connects his device to the charger and end when he disconnects it). What I want is a similar thing to listening for the…
fergaral
  • 2,077
  • 6
  • 17
  • 34
0
votes
2 answers

EverNote android-job: How can I run a job at a specific time once a day every week?

I'm developing a weekly scheduler in android and I'm interesting in a periodic job (once a week for example) that is fired at a specific time (for example at 4.00 PM) with evernote android-job I have read this…
mrpep
  • 131
  • 3
  • 12
0
votes
2 answers

evernote android-job: When is the right time to set the schedule rules?

I did not find anything about this topic, however I am curious what your recommendations or "best practices" are regarding when to set the rules to schedule the task? For example if I have to schedule a sync job, which should always be there as long…
thehayro
  • 1,516
  • 2
  • 16
  • 28
0
votes
1 answer

Evernote Android-Job broadcast receiver not called

I am using Evernote Android-Job library to schedule jobs. In their documentation they state that the JobManager needs to be instantiated in the onCreate of the Application and they provide a workaround in case that's not possible relevant…
Fouad
  • 855
  • 1
  • 11
  • 30
0
votes
1 answer

android-job: Periodic once a day, DeviceIdle = true, as soon as possible

need some help to set up my perodic job correctly with android-job lib. I want to start a job once a day and the device is ideling. Additionally the job should start as soon as possible on day. That means in best way the job start at 00:01 AM. And…
Scrounger
  • 261
  • 3
  • 5
1 2
3