alarms

Multiple calls to AlarmManager.setRepeating deliver the same Intent/PendingIntent extra values, but I supplied different ones

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...

android - get all alarms saved in the alarm application

Hi Friends, Is it by any chance possible to get a list of alarms saved in the alarm application of android ? I am making an application which just needs to show the alarms set in the Alarm application. Thanx ...

Best strategy to implement this behavior in Android app?

In my Android app, I have some data that needs to be synced daily but also needs to be updated every hour when a user is inside the app. I have already implemented a service that gets called from an alarm for the daily update. Im having a problem with developing a strategy to do the hourly sync. I could use an hourly alarm too and fire ...

How can I setup multiple alarms in Android?

So far and thanks to this website, I've been able to set up an alarm that will be set up and active, even if I turn of my phone. Now, I set up a alarm to show a reminder for event A and I need the application to setup another alarm to show another reminder for event B. I must be doing something wrong, because it only fires the reminder...

Mitigating alarm cascades in monitors

I'm looking into creating some monitoring for various aspects of our systems and wanted to see if anyone had an best practices or methodologies they use. One thing I'm trying to figure out is the best way to prevent cascading alarms. For example if the database is down then you can expect alarms X Y and Z to go off, but X Y and Z are...

How does one launch android version dependent alarm clock?

I have a widget that displays the time and if one taps on it, it launches the com.android.alarmclock/.AlarmClock activity with an PendingIntent. This works great before-Froyo, but with Froyo, I have to launch the com.android.deskclock/.AlarmClock. So I want to put in code that checks for the class existence and launch the appropriate a...

Why isn't my application service launching inmediately after the phone is turned on?

After I successfully configured alarms to go of after I start or restart my phone (thanks for that answer Macarese), I must have made something wrong, because stored alarms are not fired after 2 or even 3 hours after the phone has been turned on. I tested alarms that supposed to be sending notifications every 5 minutes... Nothing happe...