Sapient
Company
Programming
Bob, and Android programmer, wants to set trigger to Alarm of his Android phone after three days.
What would Bob do to achieve this?
1) Bob would use AlarmManager and call set() method to set after three days. Even if the phone switches off in between the alarm would ring.
2) Bob would use AlarmManager and call set() method to set after three days. Before switching the phone off Bob would maintain all the alarm details in the database and recreate it after switching it on.
3) Bob has to do nothing as Android takes care of automatic Alarm Triggering events
4) Since all alarm details will get killed after phone gets switched off. what Bob is trying to achieve is not possible.
Read Solution (Total 1)
-
- Bob would use AlarmManager and call set() method to set after three days. Before switching the phone off Bob would maintain all the alarm details in the database and recreate it after switching it on.
- 7 years agoHelpfull: Yes(0) No(0)
Sapient Other Question