I want to perform some operation when my application gets killed.Which method can be used for this? I am working on Android 5.0.