title: No Activity found to handle Intent while sending email
body: <p>I am trying to send the picture clicked through my application as an attachment via email. The picture is clicked and I get the path correctly but the application throws me a run time exception.."No activity found to handle Intent". I am testing this on my device and I have my gmail account configured. I am not sure how to resolve this. Please help.</p>
  
  <p>This is my code:</p>
  
  <pre><code>public static void sendEmail(Context context, String[] recipientList, String title, String subject, String body) {
  
  Intent intent = new Intent(Intent.ACTION_SENDTO,    Uri.parse("mailto:someone@example.com"));
          intent.setType("plain/text");
          intent.putExtra(android.content.Intent.EXTRA_EMAIL, recipientList);
          intent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject);
          intent.putExtra(android.content.Intent.EXTRA_TEXT, body);
          intent.putExtra(Intent.EXTRA_STREAM, capturedImageFilePath);
          intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
          context.startActivity(intent);
  
  }
  </code></pre>
  
  <p>And this is the log:</p>
  
  <pre><code>01-15 11:26:04.455: E/AndroidRuntime(9904): FATAL EXCEPTION: main
  01-15 11:26:04.455: E/AndroidRuntime(9904): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SENDTO typ=plain/text flg=0x10000000 (has extras) }
  01-15 11:26:04.455: E/AndroidRuntime(9904):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1512)
  01-15 11:26:04.455: E/AndroidRuntime(9904):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1384)
  01-15 11:26:04.455: E/AndroidRuntime(9904):     at android.app.ContextImpl.startActivity(ContextImpl.java:852)
  01-15 11:26:04.455: E/AndroidRuntime(9904):     at android.content.ContextWrapper.startActivity(ContextWrapper.java:276)
  01-15 11:26:04.455: E/AndroidRuntime(9904):     at com.example.attachmail.AttchmentActivity.sendEmail(AttchmentActivity.java:133)
  01-15 11:26:04.455: E/AndroidRuntime(9904):     at com.example.attachmail.AttchmentActivity$2.onClick(AttchmentActivity.java:93)
  </code></pre>