Chintan Soni
Chintan Soni

Reputation: 25267

create Alarmservice in application

I am newbie to android and just can do small simple tasks with android. Now i am trying to learn a bit harder things. I want to build an application just like to-do task manager. In which i want to include feature of setting reminder for every particular task, the rest i would be able to handle. Can anyone please guide me or provide me tutorial for setting reminder. I think this includes a background service which constantly monitors the time and date, for a particular event to occur, and when that time and date matches to the task in the application it popups a reminder. Also, this service should start automatically even after restarting the phone. Please someone can guide me through if my direction of thinking is somewhat correct...

Upvotes: 0

Views: 52

Answers (1)

random
random

Reputation: 10309

You may use AlarmManager and BroadCastReceiver that receives your alarm.

Note: The Alarm Manager is intended for cases where you want to have your application code run at a specific time, even if your application is not currently running.

Upvotes: 1

Related Questions