Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Messaging Activity also pops up when ACTION.SEND intent

Messaging Activity also pops up when ACTION.SEND intent

All your problems with Audio, Video and Images.

Messaging Activity also pops up when ACTION.SEND intent

Postby android_programmer » Mon Sep 27, 2010 7:39 pm

Hi,
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 application popping up messaging activity.


Thanks N Regards
android_programmer
Junior Developer
Junior Developer
 
Posts: 12
Joined: Sun Aug 08, 2010 2:50 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests