I have a custom notification with a button. To set the notification and use the event OnClick on my button I\'ve used this code:
//Notification and intent of
it seems that setOnClickPendingIntent doesn't work when used inside collections:
http://developer.android.com/reference/android/widget/RemoteViews.html#setOnClickPendingIntent(int,%20android.app.PendingIntent)
Try using setPendingIntentTemplate instead.