Android - Buttons supported in notification expanded view? -


i trying buttons work in notification expanded view. goal use buttons launch activities notification view. supported? here simple outline irrelevant details omitted:

  1. create remoteview object using layout imagebuttons.
  2. create pending intent each button , set them using remoteview.setonclickpendingintent(...)
  3. create notification object , set it's contentview remoteview created in step 1.
  4. set notification object's contentintent.
  5. send notification.

this works beautifully on droid x. can click on each button , launch it's associated activity successfully.

this works on pal's evo 4g well, except launches button's intent plus notification's content intent. 2 intents launched. can deal that.

this works on htc incredible.

unfortunately, doesn't work on other phones: vibrant, hero, vision, wildfire, milestone, droid 1. these ones know far based on user feedback. on these phones, notification contentintent being launched. appears button's click events aren't being captured/detected.

i @ wit's end trying work around this. beginning think it's impossible, works on phones! suggestion/help appreciated.

thanks!

i know it's on year since posted found similar question: how add button notification?


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -