Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I am getting does not require android.permission.BIND_JOB_SERVICE permission error while scheduling my JobService and I already have the bind permissions. Below is my code. JobScheduler jobScheduler = (JobScheduler) getSystemService(JOB_SCHEDULER_SERVICE); ComponentName componentName = new ComponentName(MainActivity.this,MyJobService.class); JobInfo.Builder jobInfo = new JobInfo.Builder(101, componentName).setPeriodic(2000); jobScheduler.schedule(jobInfo.build())<service android:name=".MyJobService" android:permission="android:permission.BIND_JOB_SERVICE" android:exported="true"/> Error: java.lang.IllegalArgumentException: ...

  • 0

I recently was updating an app that I work on to handle notifications from push using a JobIntentService instead of a regular IntentService because it seems like the correct way to handle this on pre-Lollipop devices as well as post. I am enqueueing work ...

close