Douglas Farias Expert Licensed User Longtime User Jun 25, 2014 #1 Hi how can i remove one push? here is my service B4X: Notification1.Initialize Notification1.Icon = "noti" Notification1.Vibrate = True Notification1.Sound = True Notification1.Light = True Notification1.AutoCancel = True Notification1.SetInfo("Achou Ganhou", notificacao, Main) Notification1.Notify(1) Service.StartForeground(1, Notification1) ok this show me the push on the device but i cant remove this one i click at the push open my app but push stay on my phone and i cant remov the push using my finger
Hi how can i remove one push? here is my service B4X: Notification1.Initialize Notification1.Icon = "noti" Notification1.Vibrate = True Notification1.Sound = True Notification1.Light = True Notification1.AutoCancel = True Notification1.SetInfo("Achou Ganhou", notificacao, Main) Notification1.Notify(1) Service.StartForeground(1, Notification1) ok this show me the push on the device but i cant remove this one i click at the push open my app but push stay on my phone and i cant remov the push using my finger
Erel B4X founder Staff member Licensed User Longtime User Jun 26, 2014 #2 You cannot remove this notification because you called Service.StartForeground. The icon will be kept until you call Service.StopForeground. Upvote 0
You cannot remove this notification because you called Service.StartForeground. The icon will be kept until you call Service.StopForeground.