Multiple alarms at the same time in Android
I'm stuck on this problem. I've read many solutions on stack overflow but none of these have solved my problem. Here's my code: In my Main Activity, I wrote this-- this.context = this; Intent alarm = new Intent(this.context, AlarmManager.class); boolean alarmRun = (PendingIntent.getBroadcast(this.context,0,alarm, PendingIntent.FLAG_NO_CREATE) != null); if (alarmRun == false){ PendingIntent pending = PendingIntent.getBroadcast(this.context, 0, alarm, 0); AlarmManager alarmMgr = (AlarmManager) getSystemService(Context.ALARM_SERVICE); alarmMgr.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,