I am making an app which will need to schedule job days or months in future. And for the purpose I am Planning on using the android Job Scheduler but after looking at the android.app.job I have learnt that for my task I will need to use the setOverrideDeadline meathod which takes the long(millis) as an input argument this can give me a maximum for 11.5 days period now what I can do is use the perodic function which will check every day or week and if the desired task is due that week it will schedule a job using setOverrideDeadline. Now this can work but I will like to ask pros if this is the right way to do it.
Regards and Thanks for help.
Ref : http://developer.android.com/reference/android/app/job/JobScheduler.html Ref : http://developer.android.com/reference/android/app/job/package-summary.html