Questions tagged [android-jobscheduler]

Use this tag for questions related to the Android JobSchedule API for scheduling various types of jobs against the framework that will be executed in your application's own process.

Android JobScheduler is an API for scheduling various types of jobs against the framework that will be executed in your application's own process.

see the documentation for more info:

Android JobScheduler reference

558 questions
-1
votes
1 answer

How to run Job Scheduler daily in the evening

I want to run my job using Job Scheduler daily. I already looked at setPeriodic(long intervalMillis) but don't know how to use it to run the job daily in evening around 7:00PM (although not exact 7:00) public void scheduleJob(View view){ …
-1
votes
1 answer

Can't run background service at a regular period of 3 minutes on Chinese custom ROM to send latitude and longitude

I have tried job scheduler and work manager but it does not work in doze mode and not at regular period. I have used normal service which is not working on some Chinese custom rom phone specially oppo and vivo. I have used the Alarm Manager to…
-1
votes
1 answer

JobScheduler is not working in android Version Oreo

Trying to send the mobile's data (SMS, call logs and location) to the server after every few minutes through foreground services through and I use JOB SCHEDULER to send. The data is in my local database of every action. But after every few minutes…
-1
votes
2 answers

Running a Service indefinitely

I am migrating my Android App to target Android Oreo. I am running a service which should run indefinitely to perform a particular task. The running of the service is to perform a particular task with the users' consent of course. Till now my app…
-1
votes
1 answer

How to run a Job at a specific time every day?

I am new on using job libraries as Job Scheduler. I have seen a lot of documentation and none of them responds to my question, is it possible to schedule a job for 9PM (for example) and that same job runs everyday at 9PM(the hour of the initial…
José Nobre
  • 4,407
  • 6
  • 20
  • 40
-1
votes
1 answer

How to execute a SQLite query everyday at a particular time?

Earlier I have been using alarm manager to schedule my query to execute at a particular time (exactly at 2.30 AM) everyday. As alarm manager no longer serves the purpose, I have been looking out for ways to solve this problem. With some research I…
-1
votes
1 answer

why pending jobs are cancelled after reboot?

When adding the jobs in job scheduler and reboot the system. all pending jobs are cancelled. why? how to resolve this? thanks in advance
-1
votes
1 answer

JobScheduler Not Working

I have the following codes in my project but when i run it on my android emulator, it does not print any logs as it is supposed to do every 15 minutes. public class JobSchedulerService extends JobService { JobParameters params; DoItTask…
helpmeplease
  • 101
  • 1
  • 1
  • 9
-1
votes
1 answer

Android Job Scheduler

I was learning about JobScheduler with a Tutorial from 2015, and when I was creating a class of this service,it complains asking me to put the annotation @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP), which means, doesn't work for old versions?…
Nathiel Barros
  • 685
  • 2
  • 11
  • 25
-2
votes
1 answer

Show pop up after some time when internet is connected and apk is closed

I wanna develop apk where apk works is show pop up screen after some time when internet is connected
-2
votes
2 answers

What's the proper way to implement resumable scheduler on Android?

I'm thinking of writing a simple Android which performs a task (e.g retrieve current location or send some values to DB) with these requirements: The task is executed on certain interval, say per 1 minute or 5 minutes Every time the task starts, it…
-2
votes
1 answer

Which concept is best one to Use among Service ,Alarm Manager and Job Scheduler

After Android 5.0 there is some restriction to use android service (to perform background operation while application force closed).i want to perform some operation after app was force closed. In that situation shall i go with job scheduler to…
MurugananthamS
  • 2,395
  • 4
  • 20
  • 49
-2
votes
1 answer

Schedule auto wallpaper changing in background

how can we set a background task to android so that at given time an image is loaded from URL and set as wallpaper
-2
votes
3 answers

How to synchronize Android database with web server database?

I am new to Android development and I am creating an app for practicing purposes, my app only retrieves data from the webserver and copies it into the SQLite database, but how do I know if there is new data that I don't have in my local DB or it has…
-2
votes
2 answers

Which is the best option for background work like Job scheduler or Service in android?

I want to get location from background and submit it to server so which is the best option to do the same like Job scheduler or Service. and why ?. I also want to know about battery saved by job scheduler while continuously we make web apicall.
Akshay More
  • 359
  • 2
  • 13
1 2 3
37
38