Re: [android-developers] want to send an e-mail...

2010-09-17 Thread Kostya Vasilyev
Phil, This is how I do it. Now that the subject has to be specified in the URI, since some email applications (HTC Sense version 1.x) have bugs and don't pick up the subject when specified as an extra. final Intent view = new Intent(Intent.ACTION_VIEW); final StringBuilder uri = new StringB

[android-developers] want to send an e-mail...

2010-09-17 Thread sdphil
hi, I want to send an e-mail, and so I use the typical intent -- Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.putExtra(Intent.EXTRA_SUBJECT, subject); emailIntent.putExtra(Intent.EXTRA_TEXT, text); emailIntent.setType("text/plain"); startActivity(Intent.createC