Android : Android Wear Notification Page Actions

on Thursday, July 10, 2014


I have an app that kicks off a notification on a Wear device (the notification is created and shown on the Wear device).


What I want to do is have the "first" notification page display some high level info (app name, scroll to see more, etc...), and then have a list of pages containing content after that.


That works fine. The issue is that I want to attach an Action to each page (to kick of a PendingIntent). However, no matter what I try, I can't get the page to perform the Action.


I've tried:



setContentIntent
addAction
addAction and extend(new Notification.WearableExtender().setContentAction(0))


Anyone have any ideas?


I'm using Notification, not NotificationCompat, but I don't think that should make a difference.


0 comments:

Post a Comment