I know that WindowManager\'s BadTokenException could occur when you try to show a dialog with an activity/context which is no longer available.
WindowManager\'s BadTokenException
I take ab