I'm trying to call a simple method (not an activity) from a button in a notification. The button may be either created using .addAction or perhaps using RemoteViews.
The notification is created within a Service.
I've tried reading similar questions Handling buttons inside android notifications and trying what was suggested there to no avail. Does anyone have a complete solution for creating such a notification? Does the fact that the notification is being created from a service rather than an activity cause any issues?
Thanks.