Android notifications can show a 'ticker' message that scrolls through the status bar when a notification is received. It would be great if B4A could implement this.
It is what scrolls through the status bar as shown in the screenshot.
In the Android documentation it says that when the Notification object is created the ticker text is defined. It is not set in setLatestEventInfo but in the object creation.
Thank you. Now I see. In the meantime you can use Reflection library:
B4X:
Dim n As Notification
n.Initialize
n.SetInfo("aaaaa", "bbbbbbb", Main)
n.Icon = "icon"
Dim r As Reflector
r.Target = n
r.SetField("tickerText", "fkljw flkjwef lwje flwe jflwfe jwlfj wlf ", "java.lang.String")