B4J Library jSystemTray - Add icons to the system tray (notifications)

With this library you can add system tray icons and handle their events.

This is useful for applications that should run in the background and still allow the user to interact with.

SS-2014-02-06_10.50.47.png


Tray icons have two events: DoubleClick and MenuClick. The menu appears when the user right clicks on the icon.

Usually when the user closes the last form the process exits. The process will however keep running if there is at least one visible tray icon.

This library is an internal library now. If you don't see it in the IDE then you can download it here: https://www.b4x.com/android/forum/threads/updates-to-internal-libaries.48274/#post-441231
 

Attachments

  • SystemTrayExample.zip
    1.6 KB · Views: 2,219
Last edited:

GMan

Well-Known Member
Licensed User
Longtime User
+1
 

jmon

Well-Known Member
Licensed User
Longtime User
thanks, very easy to use. May I suggest adding a blink (or flash) tray icon option? that would be great to attract the user's attention.
thanks.
 

Pascual Pérez

Member
Licensed User
Longtime User
Erel, would it be possible to implement the event SingleClick? i use a tray icon as a toggle to hide/show a window. Thank you.
 

GMan

Well-Known Member
Licensed User
Longtime User
Mine appears on top
 
Top