Answer the question
In order to leave comments, you need to log in
How to "hang" in android memory?
There is an application in which 1 autostart service when the phone is turned on. However, the service is sometimes unloaded from memory, and then does not start (until you re-launch the application in the menu so that it starts the service at startup).
Interested in how to hang in memory, as messengers do, for example. Moreover, even if they are unloaded by pressing "stop", they still start after a couple of seconds.
Answer the question
In order to leave comments, you need to log in
It's more common to call it a service rather than a service in android developer jargon.
stackoverflow.com/questions/5203883/how-to-impleme...
developer.android.com/intl/ru/reference/android/ap...
Note this means that most of ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question