eventPoller.schedule(new EventPoller(adapter),dateOfEvent , 100000); I want to schedule remainder for particular date and time by using TimerTask. i am doing this without broad
Solution 1:
Use alarmManager.
Keep in mind that you need to set alarmManager every time user restarts phone. This means you need to implement BroadcastReciver and set it there.
If you need an example in can post it for you.
Share
Post a Comment
for "How To Schedule Timer For Specific Date And Time In Android?"
Post a Comment for "How To Schedule Timer For Specific Date And Time In Android?"