I have two questions as I try to add my Notification code below.
1. My 'Main' activity gives me an undeclared variable 'main' used before assigned a value, in the SetInfo line below. Am I inserting my Notification code in the right location? I have it in Activity_Create.
2. My notification icon does show up at the top, but it's just a blank square and not the default icon image. I'm using (for now) the default icon.png file in C:\Users\rfresh\Documents\B4A\Ice\Objects\res\drawable
Ice is my project folder.
Thanks for any help.
Dim n As Notification
n.Initialize
n.OnGoingEvent = True
n.Sound = False
n.Vibrate = False
n.Icon = "icon"
n.SetInfo("Test1" , "Test2" , Main)
n.Notify(1)