How to start android service on installation -


I have a tool management application, which basically runs from boot as a service in the background. I want to start this app immediately after installation. How do I get it?

You can not do this - there is no way to start your service automatically only That it was established.

The application must be brought first by the user through some kind of activity. Or, you need to get hooked in some related broadcast intent through the manifest, so that you can control one of those events and kick your service in such a way. Or, you will need to reboot the user so that your BOOT_COMPLETED intent can get filter controls.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -