Hi, I am writing an app that places a custom view in the notification area. This works great and I can quite happily notify the user.
This is great, but it takes the focus away from the current application and presents my UI with various options or things that the user might want to do to react to the notification. Now I would like to offer a couple of the options as buttons within my custom view, so that the user can perform some tasks without having to load the whole UI. However when I do this the buttons are not selectable, and I never receive any onClick() events for them. It would appear that any tap on the screen simply selects the notification row, and starts my Activity. I tried creating an empty Intent, rather than an Intent that points back to my activity, but the buttons are still not selectable the select event obviously just highlights the whole underlying notification line, rather than allowing selection of the buttons that are displayed. Is there any way to make buttons work (receive the click events) from a custom view in the notification area? Alternatively, is it possible to customize / hack / do something to the notification area to display buttons there instead of in a notification? On my friends LG InTouch Max phone, they have wifi +bluetooth toggle buttons in the top of the notification area. Is that an LG customised android install? or is that something that an installed app could do? Cheers. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

