T
T
timmy882019-08-14 13:48:01
Java
timmy88, 2019-08-14 13:48:01

Android service stops?

The service is started as Foreground, the notification constantly hangs.
The service is related to geolocation and should sometimes run almost all day until the user turns it off.
She collects several coordinates and sends them to the base, and so on all the time. Memory does not eat much.
But in the end, the service can turn off both after an hour and after 6 hours. The gun disappears from the screen. Works on android 8, 9.
Help =), I've already broken my head.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question