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;
String mailCc = recipientsToBeCopied;
String mailBcc = recipientsToBeBlindCopied;
String subject = strSubject;
String body = strBody;
startActivity(Intent.createChooser(sendIntent, "send mail.."));
can any one tell me reason for using createChooser of intent and also reason for this application popping up messaging activity.
Thanks N Regards