I am stuck. When my application starts I want to check if an alarm is alive that I previously set. If not then I want to set it.
I referred to this solution. I am
Android pending intent use the Unique ID
int REQUEST_CODE=2344; // Unique ID
PendingIntent pIntent = PendingIntent.getBroadcast(context, REQUEST_CODE, intent, PendingIntent.FLAG_NO_CREATE);
you have to use the Boot Receiver broadcast when system reboot then create again alaram with the same request code REQUEST_CODE=2344;