title: Android: multiple intents to gmail
body: <p>I have one link to gmail.When I click to the link the intent open two or more windows with gmail. I think maybe this is the main problem "Intent.ACTION_SEND".</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>// TextView button for Email address
  emailLink.setOnTouchListener(new View.OnTouchListener() {
  
      @Override
      public boolean onTouch(View v, MotionEvent event) {
          //email address
          String emailAddress = "some_email@gmail.com";
          String subject = "Write a topic";
  
          Intent intent = new Intent(Intent.ACTION_SEND);
          intent.putExtra(Intent.EXTRA_EMAIL, new String[]{emailAddress});
          intent.putExtra(Intent.EXTRA_SUBJECT, subject);
          intent.setType("text/plain");
          startActivity(intent);
  
          return true;
      }
  });
  </code></pre>