title: How can I post on Twitter with Intent Action_send?
body: <p>I have been struggling to send text from my app to Twitter.</p>
  
  <p>The code below works to bring up a list of apps such as Bluetooth, Gmail, Facebook and Twitter, but when I select Twitter it doesn't prefill the text as I would have expected.</p>
  
  <p>I know that there are issues around doing this with Facebook, but I must be doing something wrong for it to not be working with Twitter.</p>
  
  <pre><code>Intent intent = new Intent(Intent.ACTION_SEND);
  intent.setType("text/plain");
  intent.putExtra(Intent.EXTRA_TEXT, "Example Text");
  startActivity(Intent.createChooser(intent, "Share Text"));
  </code></pre>