But after terminating the service via "Advanced Task Killer", I get a message that the service will be restarted after XXXXX ms. Nevers restarts in XXXXX ms as the system logs implied it will. What am I missing?
The description for START_REDELIVER_INTENT is as follows:
public static final int START_REDELIVER_INTENT
Since: API Level 5
Constant to return from onStartCommand(Intent, int, int): if this service's process is killed while it is started (after returning from onStartCommand(Intent, int, int)), then it will be scheduled for a restart and the last delivered Intent re-delivered to it again via onStartCommand(Intent, int, int). This Intent will remain scheduled for redelivery until the service calls stopSelf(int) with the start ID provided to onStartCommand(Intent, int, int). The service will not receive a onStartCommand(Intent, int, int) call with a null Intent because it will will only be re-started if it is not finished processing all Intents sent to it (and any such pending events will be delivered at the point of restart).
Constant Value: 3 (0x00000003)
I intend for my service to always run.
Here's what I believe are the relevant portion of my manifest file.
What do I need to do to fix it so that the system really does restart the service if it gets killed?