I want to make an application that cannot be killed or destroyed. I’ve tried
@Override
public void onStop() {
super.onPause();
}
But this is not working, the application is still killed. So, is there any other way to make an application is pausing instead of stopping it? Thanks 😀
No.
For long running tasks, use a service.