How set an alarm to trigger after two days? how to implement it? assume tha t user may switch off the phone in between.

Answer: Use AlarmManager and call set() to set after 2 days. Even phone switches off nothing will happen.

Description:
Use AlarmManager and call set() to set after 2 days. If phone switched off, all alarms will be dead. So, before switching off maintain all alarms details in Data Base and recreate all alarms after switching on.

No comments:

Post a Comment