Android Question Services and timer

Roberto P.

Well-Known Member
Licensed User
Longtime User
I'm missing something about the operation of services!

Use ServiceStart to start a scheduler that controls some data. OK.

I start a timer that updates each time x. OK.

I close the application and the timer continues to run. OK.

When I close the application from the history, the timer stops working.

Because? What should I do to work the timer even after you've closed all App.

Thanks.
 

Attachments

  • immagine.png
    immagine.png
    60.3 KB · Views: 234

lemonisdead

Well-Known Member
Licensed User
Longtime User
App closed by swiping ? It seems the service restarts if it is a sticky one (at least for my devices).
But nothing to do if the app is forced closed by the Kill button from the apps activity of the Android's settings
 
Upvote 0
Top