Multiple calls to AlarmManager.setRepeating deliver the same Intent/PendingIntent extra values, but
- by Chris Boyle
Solved while writing this question, but posting in case it helps anyone:
I'm setting multiple alarms like this, with different values of id:
AlarmManager alarms = (AlarmManager)context.getSystemService(
Context.ALARM_SERVICE);
Intent i = new Intent(MyReceiver.ACTION_ALARM); // "com.example.ALARM"
i.putExtra(MyReceiver.EXTRA_ID, id); //…