I am running an AsyncTask on the login screen for which I am using process dialog.
The problem is if I kill my application from recent application or from the settings and again launching it from launcher.
1.It is starting from the last activity opened.
2. It is starting my assyncTask also due to which my application is crashing because it is not getting View.
Question is:- how I can start my application from scratch if it is killed from task Manager.