Re: [android-developers] Setting multiple RTC_WAKEUP alarms from a single app

2011-01-15 Thread Kostya Vasilyev
Alarms are keyed on PendingIntents, there can be only one for a given pending intent. This is so you can update settings for an already-set alarm. There are rules for when PendingIntents are considered the same intent, or different ones. Using the same Java object certainly means it's the same int

[android-developers] Setting multiple RTC_WAKEUP alarms from a single app

2011-01-15 Thread kl4232
I have an app which I want to have 3 wake-up alarms to schedule 3 features of the app. They are all set the same way. m_intentName = "com.mypackage."+ FeatureName; m_alarmIntent = new Intent(m_intentName); m_alarmPendingIntent = PendingIntent.getBroadcast(this, 0, m_alarmIntent, 0); When I wa

[android-developers] Setting multiple RTC_WAKEUP alarms from a single app

2011-01-15 Thread kl4232
I have an app which I want to have 3 wake-up alarms to schedule 3 features of the app. They are all set the same way. m_intentName = "com.mypackage."+ FeatureName; m_alarmIntent = new Intent(m_intentName); m_alarmPendingIntent = PendingIntent.getBroadcast(this, 0, m_alarmIntent, 0); When I wa