How Does The Android "Advanced Task Killer App" Work?
Solution 1:
Did you try to post your notification with an integer ID? Like so,
notify(MY_NOTE_ID, notification);
If that's the case, you can simply get the notification manager to cancel them by calling
cancel(MY_NOTE_ID);
Also, make sure to use flags such as Notification.FLAG_ONGOING_EVENT
and Notification.FLAG_AUTO_CANCEL
appropriately. The ongoing flag makes the notification show up in on-going section, and auto cancel flag ensures the notification disappears when you click on it.
Solution 2:
"Advanced Task Killer App" simply reads the current applications that are open and will close them at a time of it's choosing or if you hit the "Close All" button.
The fact that notifications and alarms being closed is a side affect, I myself have missed many alarms (as well as Lectures) due to the task killer "killing" applications.
In terms of how does it work via code, look at the other question you have asked.
Post a Comment for "How Does The Android "Advanced Task Killer App" Work?"