L leongcc Member Licensed User Longtime User May 2, 2016 #1 It is mandatory to have a notification entry when a service operates in foreground. When I configure service as Service.StartForeground(0, Null), there is no error and the notification is not shown. My question is : is the service still in foreground when it has already violates the rule ?
It is mandatory to have a notification entry when a service operates in foreground. When I configure service as Service.StartForeground(0, Null), there is no error and the notification is not shown. My question is : is the service still in foreground when it has already violates the rule ?
Erel B4X founder Staff member Licensed User Longtime User May 2, 2016 #2 It will crash on newer versions of Android. Upvote 0