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

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 - texts are not adding to intent for email

texts are not adding to intent for email

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

texts are not adding to intent for email

Postby jagtap.jj1 » Sat Jan 31, 2009 2:06 pm

Hello
I am sending image using following. the image successfully send by application. But The subject and text r not getting added to email. The email is got successfully to receiver. But it no contain body and subject(specified with intent.EXTRA_TEXT and intent.EXTRA_SUBJECT).

I want to add body containing some hyperlink, I am doing this Intent.EXTRA_TEXT but it is not going to added.

Will somebody will clear suggest me for. None of EXTRA working (subject, title, text);

Uri uri = ContentUris.withAppendedId(Media.EXTERNAL_CONTENT_URI, 2);

Intent i = new Intent();

i.setAction(Intent.ACTION_SEND);
i.setType("image/jpeg");

i.putExtra(Intent.EXTRA_SUBJECT, "jigsaw");
i.putExtra(Intent.EXTRA_TEXT, "http://code.google.com/android");

i.putExtra(Intent.EXTRA_TITLE, "ETitle");
i.putExtra(Intent.EXTRA_STREAM, uri);
i = Intent.createChooser(i, "Send");
startActivity(i);
java-android developer
User avatar
jagtap.jj1
Senior Developer
Senior Developer
 
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests