现在,我想根据新的Android政策将B改为使用JobIntentService。但是我不能从A调用startService,所以我修改了代码以发送显式广播。我在剪贴图中添加了uri。at android.app.JobSchedulerImpl.enqueue(JobSchedulerImpl.java:53) at androi
Consider using {@link androidx.work.WorkManager}
* or {@link androidx.core.app.JobIntentService},那么,JobIntentService和WorkManager之间有什么区别,在什么情况下推荐哪一种呢?谷歌在这个页面上甚至没有提到JobIntentService,他们只提到了WorkManager:
我想要来自jobintentservice (onHandleWork)的Toast,但使我的应用程序崩溃。日志错误是:“无法在没有调用looper.prepare()的线程上吐司”我想学习在jobintentservice中使用处理程序,请帮助我。public class NotificationService extends JobIntentService {
public static final String TAG = NotificationService.class.getSimpleName