friends.
I have to do next thing: We are writing special application for our customers. As we know, OS kills application sometimes (f.e low memory). So question is: Can i handle moment when OS killing it. I’ve read about onDestroy() event, but some people says, that event doesnt fired. Is it true?
Common question, can i handle OS killing application some way and restart it again.
I know, that is not good idea, but customers asks us about functionality like this.
Thank you for your help!
You can make it alarm driven using the AlarmManager class, check if your activity/app is up every few seconds (or minutes) and re-launch the activity if its been killed.