This is a new feature added in B4A v8.0. Starting from Android 8.0, services cannot be simply started while the app is in the background or not running at all. Background means that there isn't any visible activity or any service in foreground state (Service.StartForeground). Common cases...
I want my APP to behave differently depending on whether the user launched it by pressing the launcher icon or by turning on the phone (The APP has a a service module which has StartAtBoot set to True). Is there some way (code) to detect which way it was started?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.