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

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.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");
java-android developer
User avatar
Senior Developer
Senior Developer
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 1 guest