I have tried to logout from my app when the user clicks on Logout.It is working fine in case the user after login without closing the app if he doed logout .Then it is worki
The onNewIntent()
should be used in singleTop
activities.
Beside that, I don't see a startActivityForResult()
call to Login Page/Activity.
Blank page means your activity has not setup its view (with setContentView()
).
I would suggest moving your "logging out" checks and setContentView()
to onResume()
of the Login Page/Activity.