Android Question service stopping app execution

Gktech

Member
Licensed User
I have an app with a service in backgroud, when it closes the app after some time does not return open because the initial service first and some kind of conflict and it gets append a black screen in the app.
I am using the command:
B4X:
StartServiceAt("", DateTime.Now + 20 * 1000, True)
to schedule a new task in the service.
How can I solve this problem?
 

lemonisdead

Well-Known Member
Licensed User
Just to be sure : that service is not the Starter, right ?

Is there any error in the logs ?
 

lemonisdead

Well-Known Member
Licensed User
That's the reason of the error : never start the Starter by yourself. Start another service instead : it will restart the Starter if not already running.
 

Gktech

Member
Licensed User
thank you! the problem was this,
I created another service and the problem was solved.
 
Top