I have an android app where I check user credential in the first screen from a remote server. I have a timeout of 10 secs. After timeout app sends user to Error Page. There I have an Exit button.
I have tried writting all the logic for exiting the application including
android.os.Process.killProcess(android.os.Process.myPid());
in the click of exit button. But I am not able to ext from the application.
Please help me finding a way to exit the app.