I have a problem with AlarmManager, I set the code for scheduling a repeating alarm and after I run the application, the alarm runs fine. Even if I click on Home button (and
Forcing your application to close is not the correct way to close an app and may give you incorrect behavior.
This question might also be of some help.