Skip to content Skip to sidebar Skip to footer

How To Schedule Timer For Specific Date And Time In Android?

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.

Post a Comment for "How To Schedule Timer For Specific Date And Time In Android?"