Can I request Android AlarmManager for the next alarm for this PendingIntent? I know that I can cancel it using the .cancel (PendingIntent) function, and I can update it with .set (), but can I "request" it? I use something like this to see if this is planned:
PendingIntent sender = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_NO_CREATE);
If the sender == null, then it is already scheduled. I really would like to know, "for how long?" if possible.
I know that I can save this in a database or elsewhere when I installed it, but I would really like the request "official source" to be sure. Is it possible?
source share