Hi,
i have issue on my application , coding sucessfully executed , but
file not attach in my email , its only shows filename , but not
image .

code:
Intent emailintent = new Intent(Intent.ACTION_SEND);


            emailintent.setType("image/jpg");
 
emailintent.putExtra(android.content.Intent.EXTRA_EMAIL,Uri.fromParts("mailto",
"cta...@gmail.com", null));

                        emailintent.putExtra(Intent.EXTRA_SUBJECT, "Note Taker 
Image");
                        emailintent.putExtra(Intent.EXTRA_TEXT, "Image Sent 
from Android
Phone");
                        emailintent.putExtra(Intent.EXTRA_STREAM, 
Uri.parse("file://mnt/
sdcard/e-Diary/image7115332.jpg"));

                        //emailintent.putExtra(Intent.EXTRA_STREAM, );
                        startActivity(emailintent);


regards,
Ganez

-- 
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