Running a piece of code when Notification deleted
<p>I'm trying to figure out how to run a piece of code when a notification gets cleared.
I've found that the Notification class provides a deleteIntent which is run when the notification is cleared, but I have been unable to find any resource that explains how I could go about getting this to run a piece of code within my application.</p>

<p>I was wondering if anyone had any suggestions of how I could achieve this, or could point me towards a good tutorial that will explain how I could go about achieving this. </p>
