'Creating a notification status icon based on app status
I am trying to set a icon in the status bar of the phone under certain circumstances. I am making a networking app and I basically want a green circle for connected, and red circle for not connected. Everything I am finding puts a notification in the notification menu as well and I only need the status icon. Is this possible?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|