texts are not adding to intent for email

by jj » Sat, 31 Jan 2009 21:02:15 GMT

Sponsored Links
I am sending image using following. the image successfully send by
application. But The subject and text r not getting added to email.

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/ 

                i.putExtra(Intent.EXTRA_TITLE, "ETitle");
                i.putExtra(Intent.EXTRA_STREAM, uri);
                i = Intent.createChooser(i, "Send");

texts are not adding to intent for email

by Guillaume Perrot » Sun, 01 Feb 2009 19:33:12 GMT

 Maybe a bug with the attached media part.
Did you try without it ?


Sponsored Links

texts are not adding to intent for email

by Guillaume Perrot » Sun, 01 Feb 2009 19:37:51 GMT

 >From the documentation, I am afraid there is kind of a limitation:
"Input: getType() is the MIME type of the data being sent. get*Extra
can have either a EXTRA_TEXT  or EXTRA_STREAM field, containing the
data to be sent. If using EXTRA_TEXT, the MIME type should be "text/
plain"; otherwise it should be the MIME type of the data in
EXTRA_STREAM. Use */* if the MIME type is unknown (this will only
allow senders that can handle generic data streams). "
Maybe you can set EITHER a text OR a media (XOR).
Did you try not using the media part, and replace the mime type by
text/plain ?


Other Threads

1. Google Apps for Business - No Android Support?

I would like to use my G1 with my business account.  This account is
not the regular GMail account but the kind where you have Google
manage your domain.  They do your email, chat, calendar, docs, etc.
It is a very nice service by the way.

But it does not seem Android supports any of this?  You cannot
"register" your phone with anything but a regular "gmail.com" address.
You cannot use the GTalk client on Android with anything but the
"gmail.com" chat name.

I would love to be able to use the built in chat and gmail client
using my business apps account, but doesn't seem possible (Note: you
can use the email cllient and googles imap service).

I found this link with lots of blackberry info but not much about

Anyone know how to get the business app accounts working?  Anyone know
if this is coming soon?


2. get character width in pixel?

i need to get the character width in pixel when it displayed in the
screen while using Custom TTF font



3. How To check an incoming SMS for it's sender?

4. Google Apps for Business - No Android Support?

5. code for a dialler replacement?

6. emulator.exe has encountered a problem and needs to close. >> Need Help

7. Distance Application - Newbie Discussion