top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Android: Postpone system services after boot

0 votes

Is there a way to postpone a system service (for example Alarm Manager) that are started by system server after the ACTION_BOOT_COMPLETED has been sent?

posted Jul 31, 2014 by Meenal Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

You cant meaningfully do this. The BOOT_COMPLETED broadcast is the trigger for 3rd party software to begin execution, and all system services must be available at that point in time in case the 3rd party apps want to use them.

Can you go into a bit more detail about why you want to do this? What problems are you running into?

answer Jul 31, 2014 by Jagan Mishra
Similar Questions
+3 votes

I want to know if there is a way to some settings to be used by framework services such as ActivityManagerService of WindowManagerService like apps can do with preferences. They should be able to store some of their variables into some persistent storage and read them at bootup.

Currently, I found only the xml files in res/res folder but this is editable only at compile time.

0 votes

I'm looking for the equivalent of a rc0.d script to take down Android in a clean way so that it can be restarted. In my usecase, Android is running within a jailed chroot for reasons I can't go into great detail about. However, I would like the ability to essentially kill all of the Android services and relaunch on command.
I cannot/will not be using the standard Android dialogs for much and don't want to use the power-off dialog or anything.
I have done some searches and they've all lead me to the file which sends the INTENT_SHUTDOWN to stop a couple of services and then either reboots or shuts down the phone. I only want the first part with no action taken on the device itself (not that it would do much in my case anyway)..

+1 vote

After I updated my phone to Android 4.3, every time my phone connects to the GSM network. APN configuration gets lost and I insert by hand because they do not exist in the file APNs-conf.xml.

Mine is a virtual operator. Any clue...

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.