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
Longtime User
Just to be sure : that service is not the Starter, right ?

Is there any error in the logs ?
 
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime 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.
 
Upvote 0
Top