Action on application killed in android

view story

http://stackoverflow.com – I want to perform action/event when application killed from task manager or any other app. Is there any to perform action when application killed. My application is running in background like service. If i terminate the application then main service stop . I want to start it again. (HowTos)