Dim Body As String
DateTime.DateFormat = "dd/MM/yyyy"
DateTime.TimeFormat = "hh:mm:ss:SSS"
Dim Now As Long = DateTime.Now
Body = DateTime.Date(Now) & " - " & DateTime.Time(Now) & CRLF & Livello
'nid = nid + 1
' scrivo la notifica
Dim n As Notification = CreateNotification(Body)
n.Notify(nid)
Background The notifications features changed a lot as Android evolved. Android 8 (with targetSdkVersion 26+) adds another complexity with the introduction of notification channels. The built-in Notification object was rewritten in B4A v8 to work properly with all versions. This is a good...