Android Question Notification Tray / Taskbar

fsj

Member
Licensed User
Longtime User
Is it possible to set Text into the notification tray

I will warn for low batterie in the tray, therefor I want to set some text over there
how can I do this?
 

mangojack

Expert
Licensed User
Longtime User
B4X:
Dim Notif As Notification

   Notif.Initialize
   Notif.Icon = "icon"
  Notif.SetInfo("Warning","Your battery is getting low ...",Me)
  Notif.Sound = True
     Notif.Vibrate = True   
   Notif.Notify(1)   
   
   'Notif.Cancel(1)
 
Upvote 0

fsj

Member
Licensed User
Longtime User
Thanks
that works fine
is there a way to display Text only in the notification tray or somewhere near the notification tray
see attached picture
 

Attachments

  • Screenshot.gif
    Screenshot.gif
    5.1 KB · Views: 235
Upvote 0

fsj

Member
Licensed User
Longtime User
I know the Batterie Indicator App, this shows the battery in %
or Accu Weather app
is this an Icon which changes every time?
can I generate an icon from B4A ?
 
Upvote 0
Top