I develop an application which must manage the Alarm Clock in Android. I specifically need to do the following:
- execute some code in my application when the user sets an alarm (also find out the time of the alarm at the moment of execution);
- cancel an alarm when the user pushes a specific button in my application;
- execute some code in my application when an alarm goes off.
I must mention that I am not interested in the CPU alarms, but the Alarm Clock application, which people use to wake up.