D Dirk A Member Licensed User Longtime User Nov 7, 2012 #1 Hello, In my app I have a notification that's created in my service : B4X: n1.Initialize n1.icon = "icon" n1.SetInfo("info","",Main) n1.notify(1) the icon appears in the title bar but when I close my app the icon remains in the title bar and I don't want that. I've tried n1.Cancel(1) in my activity's destroy but it doesn't work...
Hello, In my app I have a notification that's created in my service : B4X: n1.Initialize n1.icon = "icon" n1.SetInfo("info","",Main) n1.notify(1) the icon appears in the title bar but when I close my app the icon remains in the title bar and I don't want that. I've tried n1.Cancel(1) in my activity's destroy but it doesn't work...
Erel B4X founder Staff member Licensed User Longtime User Nov 7, 2012 #2 Do you mean activity_pause ? Upvote 0
D Dirk A Member Licensed User Longtime User Nov 7, 2012 #3 djeez , I'm mixing up several program languages here . I had to handle it in activity_pause . There's no destroy event in b4a :signOops: Upvote 0
djeez , I'm mixing up several program languages here . I had to handle it in activity_pause . There's no destroy event in b4a :signOops: