Having a maximum of one Android Notification at any point
<p>I am currently developing an Android app that is supposed to inform the user of events that have happened. I have successfully created the code that allows for me to create the Android notifications and display them to the user etc.</p>

<p>The problem I am having is I should only ever have one notification. In the event that a previous notification hasn't been cleared yet, I would like to be able to access it (this is primarily to allow me to check the number property), so I can set the appropriate number property on the new notification. Unfortunately I have not been able to identify how I would go about retreiving a previous notification if it still exists. I don't particularly need anything more than the number from the notification as I will be running code that will cancel that notification prior to creating the new one.</p>

<p>I do have the ID for the notification that would have been raised (if any).</p>

<p>So in summary, how can I retrieve a previous notification, so I can get the number from it.</p>
