Hello
I can start service in boot start android with #StartAtBoot: True
But when android start,my service run after 2-5 second
While it run after 1 second or immediately
Thanks
Android when it starts, it also starts the services. You can not set a priority on your App, it will be the operating system to decide, you can not anticipate it with respect to anything else
Android when it starts, it also starts the services. You can not set a priority on your App, it will be the operating system to decide, you can not anticipate it with respect to anything else
There seems not to be any as we must wait for the boot to be completed to receive the intent and start the service. Perhaps if you created your own ROM replacing the launcher... But feel free to die another day
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.