How to check which notifications are active in status bar in Android Dev?
<p>I have made an app that sets notifications in the drop-down status bar of Android phones. However, there is a bug in my code (sometimes the notifications are set, sometimes they are not). I want to be able TO CHECK (in the code) IF THE NOTIFICATION IS VISIBLE TO THE USER. (i.e. can the user see the notification in the status bar?). </p>

<p>How can I do this? (Thanks in advance).</p>

<p>Sample code is greatly appreciated.</p>
