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. Eliminate the browsers stop button idea

I often find myself hitting inside the address text area to stop a
page from loading. Either someone hours the browser back/forward
button by accident our a quickly typed url is normally two to reasons
we would want a page to  stop loading immediately. We often have a
completed form when this happens and end up losing what we typed in.

Several times I find that the stop button doesn't work in time but my
main point here is to eliminate an unnecessary button to clear up some
browser interface where just hitting the url address bar would be just
as useful, if not more.

The longer size and a reduced action response time may play into this
saving us another split second of our time or a website form complete
filled out.

-- 

2. ADT plugin layout editor - additional device configurations?

You know that layout editor in the Android ADT plugin that lets you
design the layout for ADP1, ADP2 and Nexus One, has anyone created
other device configurations?

It requires device information such as the x-dpi and y-dpi, which can
be difficult to find out.  I'm just wondering if anybody has added
more device configurations they're willing to share?  Perhaps together
we could compile a huge devices.xml containing many of the devices out
there.

I'm fully aware the layout editor has many faults and cannot be relied
upon but it is sometimes useful to rapidly preview how the layout
might look on a wide variety of devices without switching between
emulators.

-- 

3. Copying 1 drawable to SD

4. flashing element in ArrayAdapter

5. PVMFOMXVideoDecNode

6. Behaviour of launchMode=鈥?singleTask鈥?not as described?

7. Debugging Methods n booting time?