Interactive widgets, like buttons, are not supported in Android's notification drawer until Android 4.0.
So, while they may work on some devices, that is a side-effect of how those devices' home screens were implemented. They will not work across all devices (until all devices are on API Level 14+). On Wed, Nov 9, 2011 at 2:23 AM, bt <[email protected]> wrote: > Hi, > > Can somebody explain me something? > > When I create a Notification I set a contentView with "buttons". > I have set onClickPendingIntent for every buttons and I have to set > contentIntent for the notification too. > > It seems that this feature works differently on different devices: > > - on some devices the contentIntent action is executed when I click on > a button (my Desire with Android 2.3.7) > - on some devices the button intent I click on is executed (my Xoom > with Android 3.1) > - on some devices both the contentIntent and button intent are > executed > > What cause this differences? Can I do something If I would like that > only button intents be executed? > > Thanks, > Tamás > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

