I was perusing the Core 1.18 manual and got to the NOTIFICATION section, I copied this sample to my computer, compiled it and sent it to my phone and didn't work, I got an error during compilation:
However, when I added quotes to the activity name, it did work
B4X:
Dim n As Notification
n.Initialize
n.Icon = "icon"
n.SetInfo("This is the title", "and this is the body.", Main)
n.Notify(1)
However, when I added quotes to the activity name, it did work
B4X:
...
n.SetInfo("This is the title", "and this is the body.", [COLOR="Red"]"[/COLOR]Main[COLOR="Red"]"[/COLOR])