Send Mail with HTML format

by DAVIDT » Sat, 27 Feb 2010 12:50:53 GMT


Sponsored Links
 Hi All

Is possible sent email with html format.

                    String[] mailto = { email };
            // Create a new Intent to send messages
            Intent sendIntent = new Intent(Intent.ACTION_SEND);
            // Add attributes to the intent
            sendIntent.putExtra(Intent.EXTRA_EMAIL, mailto);
            sendIntent.putExtra(Intent.EXTRA_SUBJECT,subject);
            sendIntent.putExtra(Intent.EXTRA_TEXT,body);

            //sendIntent.setType("text/plain");
            //sendIntent.setType("message/rfc822");
            sendIntent.setType("text/html");

            startActivity(Intent.createChooser(sendIntent, "Send mail ..."));
            finish();

It no sent email in format html . some alternative

--



Other Threads

1. Command line build error: 'Unable to get buffer of resource asset file'

I'm updating Masa (Maven plugins for Android) to support the latest Android
SDK. I did run into the problem with aapt tool:

W/ResourceType(47600): Unable to get buffer of resource asset file

with too small of a buffer for the resource file in the android.jar. I have
no idea how Google gets this to work in Eclipse but command line builds
won't work. The solution is to recompile the aapt with increased buffers.
Does anyone know of any distributions out there where people have rebuilt
the aapt with increased buffer sizes for various platforms?

Thanks,

-- 
Shane Isbell (Founder of ZappMarket)
http://apps.facebook.com/zappmarket/

-- 

2. Bitmap mutability dependent on location

Hi all,

Found a bit of a weird one which might be related to this post -

3. USB Issues: 2nd Droid not recognized by ADB

4. Scrolling like a spreadsheet

5. ListView listener problems

6. Screen flip doesn't trigger an orientation change and Activity destruction/recreation

7. How to you think about the future of PhoneGap