Sub Button1_Click
Dim nb As NotificationBuilder
nb.Initialize
nb.SmallIcon = "icon"
nb.ContentTitle = "title"
nb.ContentText = "content"
Dim p As Phone
If p.SdkVersion >= 26 Then
Dim ctxt As JavaObject
ctxt.InitializeContext
Dim manager As JavaObject
manager.InitializeStatic("android.app.NotificationManager")
Dim Channel As JavaObject
Dim ChannelVisibleName As String = Application.LabelName
Channel.InitializeNewInstance("android.app.NotificationChannel", _
Array("MyChannelId1", ChannelVisibleName, manager.GetField("IMPORTANCE_DEFAULT"))) 'change to IMPORTANCE_LOW to remove sounds
manager = ctxt.RunMethod("getSystemService", Array("notification"))
manager.RunMethod("createNotificationChannel", Array(Channel))
Dim jo As JavaObject = nb
jo.RunMethod("setChannelId", Array("MyChannelId1"))
End If
nb.Notify(1)
End Sub