Answer the question
In order to leave comments, you need to log in
Is it possible to force the desired application to start when the Android phone boots?
I am using a phone running Android v. 4.1.2 Tell me, is it possible to force the desired application to start when the device is loaded, that is, what would it constantly hang in memory and not be unloaded even after the phone was rebooted, or would it start itself after loading?
Answer the question
In order to leave comments, you need to log in
Perhaps you are looking for this - https://play.google.com/store/apps/details?id=com....
If the question is about writing your own application, that is.
If you force someone else's application to behave this way, then partially.
This is due to the fact that autostart is performed by an "event receiver", which has a sign in the manifest set to react to restarting the device. Here in such a receiver you can run both your own application and someone else's.
For permanent presence in memory, you need to write a successor to the Service class and register it in the system. Naturally, for someone else's application, you need to try very hard, making up such an heir.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question