I\'m trying to use the android Job Scheduler API and all I\'m trying to do is have the Job Scheduler run every 5 seconds. However when I run it, the corresponding service is
Instead of setPeriodic(int) use setMinimumLatency(int) with setOverrideDeadline(int). These two methods will adjust the interval of your JobScheduler.
setPeriodic(int)
setMinimumLatency(int)
setOverrideDeadline(int)
JobScheduler