I remember that I read somewhere in our forum (not in one thread, but in several threads) that to keep an app alive we have to use a notification that will stay in the notification bar. Some thing similar to the below:
I just wonder why there are many apps out there in Google Play that still can be alive without using this notification in the bar? They even can have option for the user to put or not put notification in the notif bar. How can they keep their app / service alive without using notification? Or we have limitation in B4A? Can you please enlight me more with this or I misunderstand something?
Thank you.
Best
B4X:
Dim Notification1 As Notification
'======================
Sub Service_Create
Notification1.Initialize
Notification1.Icon = "icon"
Notification1.AutoCancel= False
Notification1.SetInfo("My app", "My app is running", Main)
Notification1.Notify(1)
Notification1.OnGoingEvent = True
End Sub
I just wonder why there are many apps out there in Google Play that still can be alive without using this notification in the bar? They even can have option for the user to put or not put notification in the notif bar. How can they keep their app / service alive without using notification? Or we have limitation in B4A? Can you please enlight me more with this or I misunderstand something?
Thank you.
Best
Last edited: