showing blank screen on back button android
<p>How can I avoid showing blank screen after user click Back button of device in the authentication step?</p>

<p><em>[ Edited]</em></p>

<p>The flow is user is asked to authenticate via twitter.
If the user reaches the step, it is possible that user doesn't authenticate and press the back button of device and return to the app. At that step, the app show blank page.</p>

<pre><code>alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() {
            public void onClick(DialogInterface dialog, int whichButton) {
                prefs = PreferenceManager.getDefaultSharedPreferences(context);
                if (MyUtils.checkIsAuthenticated(prefs)) {
                    //sending the tweet
                } else {
                    Intent i = new Intent(context,
                            GotoRequestTokenActivity.class);
                    context.startActivity(i);
                }
            }
        });
</code></pre>
