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

2011-01-15 Thread Kostya Vasilyev
This means that the request code does not have any special meaning to Android (unlike flags, the last paramter). You can easily check this with a simple test: - Create an Intent from an action string; - Call PendingIntent.getBroadcast twice with 0 for request code, log the results; - Repeat with

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

2011-01-15 Thread Kostya Vasilyev
2011/1/15 kl4232 > Thank you for this. I accidently posted my question before I was > finished composing it. > That's what I figured > > So having a unique action (=feature name) for the intent inside the > pending intent isn't enough. > Distinict action strings would work, but I don't see th

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

2011-01-15 Thread kl4232
Although the docs for pendingIntent.getBroadcast state that... requestCode Private request code for the sender (currently not used). On Jan 15, 10:07 am, kl4232 wrote: > Thank you for this. I accidently posted my question before I was > finished composing it. > > So having a unique action (=fea

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

2011-01-15 Thread kl4232
Thank you for this. I accidently posted my question before I was finished composing it. So having a unique action (=feature name) for the intent inside the pending intent isn't enough. I did see, when I did "adb ahell dumpsys alarm" and I know I had 2 alarms set, then there was only one RTC_WAKEUP