Hi

I am trying to send email using the andriod application........
I have tried the following code. The problem i am facing is that the
email intent is opened
but the send to address, subject and body i snot copied to the email
intent.........
and can any one tell what if  i want to sent a pic as an
attachement.............

regards
Salman

                        Intent sendIntent = new Intent(Intent.ACTION_SEND);
                        sendIntent.putExtra
(Intent.EXTRA_EMAIL,"salmanwa...@gmail.com");
                        sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Test Mail");
                        sendIntent.putExtra(Intent.EXTRA_TEXT,"This is a Test 
mail");
                        sendIntent.setType("*/*");
                        startActivity(sendIntent);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to