Hello, I need to implement a JobService on Android.
I created the base class for a Job, but I am not able to set a run parameter, minutes, days, hours, etc.
I do not find an example, has anyone implemented and could help me?
public class InformarLocalizacao extends JobService {
@Override
public boolean onStartJob(JobParameters params) {
return false;
}
@Override
public boolean onStopJob(JobParameters params) {
return false;
}
}
The <ervice>
was added in the manifest, but I need a routine to be called time-in-time ...