title: Not getting Twitter login screen if Twitter is not installed on Android phone
body: <p>I'm using the Twitter kit for having a Login Facility on an Android App.</p>
  
  <p>I'm using these depenencies - </p>
  
  <pre><code>compile 'com.twitter.sdk.android:twitter-core:3.1.1'
  compile 'com.twitter.sdk.android:tweet-ui:3.1.1'
  </code></pre>
  
  <p>I'm initializing it like this in the Application Context class - </p>
  
  <pre><code>TwitterConfig config = new TwitterConfig.Builder(getApplicationContext())
                  .logger(new DefaultLogger(Log.DEBUG))
                  .twitterAuthConfig(new TwitterAuthConfig(getString(R.string.Twitter_CONSUMER_KEY), getString(R.string.Twitter_CONSUMER_SECRET)))
                  .debug(false)
                  .build();
  Twitter.initialize(config);
  </code></pre>
  
  <p>In my Activity I have this code for Click listener on a button that calls Twitter API for Login. <em>twitter_login</em> is a TextView. - </p>
  
  <pre><code>twitter_login.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
  
                  mTwitterAuthClient = new TwitterAuthClient();
  
                  mTwitterAuthClient.authorize(getActivity(), new Callback&lt;TwitterSession&gt;() {
  
                      @Override
                      public void success(Result&lt;TwitterSession&gt; twitterSessionResult) {
                          session = TwitterCore.getInstance().getSessionManager().getActiveSession();
                          TwitterAuthToken authToken = session.getAuthToken();
  
                          twitter_token = authToken.token;
                          twitter_secret = authToken.secret;
  
                          if (mTwitterAuthClient != null) {
                              (mTwitterAuthClient.requestEmail(session, new com.twitter.sdk.android.core.Callback&lt;String&gt;() {
                                  @Override
                                  public void success(Result&lt;String&gt; emailResult) {
                                      emailFromTwitter = emailResult.data;
  
                                  }
  
                                  @Override
                                  public void failure(TwitterException e) {
  
                                      String error_message = e.getMessage();
                                  }
                              });
                          }
  
                      }
  
                      @Override
                      public void failure(TwitterException e) {
  
                      }
                  });
  </code></pre>
  
  <p>I have this inside onActivityResult - </p>
  
  <pre><code>mTwitterAuthClient.onActivityResult(requestCode, resultCode, data);
  </code></pre>
  
  <p>The case is that </p>
  
  <ol>
  <li><p>When I click on <em>twitter_login</em>, if I have the <strong>Twitter App</strong> installed on my Android phone, it shows the Authorization screen and login works fine.</p></li>
  <li><p>But I don't even get a <strong>Login Screen</strong> if Twitter App is not installed on my  Android phone when I click on <em>twitter_login</em>. In this case how to prompt the user to enter his/her twitter credentials for login ?</p></li>
  </ol>
  
  <p>Why is it so ? How to fix it ? Am I doing anything wrong ?</p>