实际上,我想使用JobScheduler的通知,甚至应用程序是活动的或不活动的。我刚开始使用android,只是试着运行后台AsyncTask来检查它是否正常工作,但它不起作用。
这是我的JobService代码:
public class JobSchedularClass extends JobService {
private static final String TAG = "JobSchedularClass";
private BackgroundJob backgroundJob;
@Override
public boolean