You can use a regular notification object for that.
Basic4android - Core
Perhaps using notifications?
Barx' Custom-Notification-library might help you (not tested):
http://www.b4x.com/forum/additional-libraries-classes-official-updates/16950-custom-notification-library-barx.html#post96888
Have you set:
B4X:n.Light = True
Sub Button1_Click
Dim n As Notification
n.Initialize
n.Light = True
n.Notify(1)
End Sub
You must set the Icon property and call SetInfo. See the example in the link I posted.
Sub Button1_Click
Dim n As Notification
n.Initialize
n.Light = True
n.Icon = "icon"
n.SetInfo("This is the title", "and this is the body.", Main) 'Change Main to "" if this code is in the main module.
n.Notify(1)
End Sub
You can use this library to force the LED to flash: http://www.b4x.com/forum/additional...stom-notification-library-barx.html#post96888
Perhaps using notifications?
Barx' Custom-Notification-library might help you (not tested):
http://www.b4x.com/forum/additional-libraries-classes-official-updates/16950-custom-notification-library-barx.html#post96888