I have read many examples of how to create notification messages. What i wanted to achieve, is because the notification will be executed by a widget, i would like the notifi
The only way I can see of doing this is to have your Notification
's Intent
point to a background Service
. When this Service is launched, it would clear the given Notification
using NotificationManager.cancel(int id)
. The Service
would then stop itself. It's not pretty, and would not be easy to implement, but I can't find any other way of doing it.