A
A
Anton2013-12-17 22:41:54
Android
Anton, 2013-12-17 22:41:54

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

2 answer(s)
A
Alexander Bukhalo, 2013-12-18
@8toni8

Perhaps you are looking for this - https://play.google.com/store/apps/details?id=com....

S
svd71, 2013-12-17
@svd71

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 question

Ask a Question

731 491 924 answers to any question