I appreciate your observation. Just to mention, it works on my HTC HD2 WITH froyo 2.2 build but not on mytouch and g2, tested so far.
Thanks Manoj Kumar Maurya > More than likely you're seeing something where a vendor (i.e. > manufacturer or carrier) wanted that behaviour, and passed through click > handling events from the expanded notification tray to the underlying > notification, and thus its widgets. As Dianne mentioned, this isn't > part of the standard Android platform behaviour.. which is probably why > your buttons/widgets inside of the notification aren't getting the click > event propagated to them. > > cheers, > steve > >> ------------------------------------------------------------------------ >> >> Manoj Maurya <mailto:manojk.mau...@gmail.com> >> December 27, 2010 11:08 AM >> >> >> I understand that but custom expanded view is part of standard platform. >> What I fail to understand is that how it can be device dependant if OS >> is same? I am not getting any exception or error. Simply, click on >> buttons in side notifications is not working on few devices. >> It might be resolution dependant, just a guess. >> >> Thanks >> Manoj Kumar Maurya >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> ------------------------------------------------------------------------ >> >> Dianne Hackborn <mailto:hack...@android.com> >> December 27, 2010 11:03 AM >> >> >> Buttons and other widgets inside of notifications aren't supported in >> the standard platform. If it happens to work on a particular device, >> that is an extra feature there but not something you can count on >> working elsewhere. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> ------------------------------------------------------------------------ >> >> mkmand <mailto:manojk.mau...@gmail.com> >> December 26, 2010 8:19 PM >> >> >> I am stuck with same problem but in a more weird way, >> I am learning android by writing an app which will show a custom >> notification with buttons. Now, when I install this program on my HTC >> HD2 with Android 2.2, click on button on notification does the >> intended action but when I install same program on mytouch 3g with >> Android 2.2.1, it doesn't work i.e. click on notification works but >> not on individual buttons. >> >> Could you solve the issue? >> >> One thing to notice is that, on mytouch 3g,I see a small area on >> right side of my custom layout in notification, which is extra i.e. >> this small area is not getting covered by by the custom layout of the >> notification. and that is the area which gets highlighted when i click >> the button or anywhere on the notification. >> >> If you could solve the issue, please share. >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> ------------------------------------------------------------------------ >> >> Pink <mailto:sivareddy.j...@gmail.com> >> December 20, 2010 1:56 AM >> >> >> After looking at logcat i came to conclsion that RadioGroup can't be >> used in notifcation. >> >> This time i am using buttons and those appearing in notication window. >> >> I have registered pending intents for each button in my notification. >> >> But when i click any button, contentintent being raissed but not >> button pending >> >> is raised. >> >> >> Is there any thing needs to be done to listen to user actions >> notification button >> >> actions except from registering pending intents with RemoteViews? >> >> Thanks in advance... >> >> >> >> > > -- > stephen lau | st...@grommit.com | http://whacked.net | @stevel > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en