• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to make the ondestroy method not work so the app would not quit

I want to make an app which in it, when the user hits the menu, home or recent apps button, the app would not quit ( So the on destroy method would not be called) .
I tried deleting the super.ondestroy (): statement but it responded in app being crashed.
Thanks in advance.
 
Back
Top Bottom