How to check JobService is running or not in android?
问题 I am using JobService in my project. It's working good. But sometimes service stopped. It is not restart again. So that I am trying to strat the JobService if not running. But I don't know how to check JobService is already running or not. Please let me any idea to how to check JobService is running or not. My Job service class: @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) public class JobService extends android.app.job.JobService { @Override public boolean onStartJob(JobParameters params