I wrote an email application in Android , that uses Action_SEND intent. When I call startActivity(i); where i is intent, along with email Application , messaging application is also popping up. But when I wrote an application for email why should messaging application also should pop up.
can I be explained clearly regarding this concept.
Intent sendIntent = new Intent(Intent.ACTION_SEND);
String[] mailto = recipients;
sendIntent.putExtra(Intent.EXTRA_EMAIL, mailto);
String[] mailCc = recipientsToBeCopied;
sendIntent.putExtra(Intent.EXTRA_CC, mailCc);
String[] mailBcc = recipientsToBeBlindCopied;
sendIntent.putExtra(Intent.EXTRA_BCC, mailBcc);
String subject = strSubject;
sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject);
String body = strBody;
sendIntent.putExtra(Intent.EXTRA_TEXT, body);
sendIntent.setType("text/plain");
startActivity(Intent.createChooser(sendIntent, "send mail.."));
Can any one tell me reason for using createChooser of intent and also reason for this ap开发者_运维百科plication popping up messaging activity. 
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论