Hi Friends, for the last two days i am trying to attach a picture to
email the picture is taken from camera after that i am storing the
image into sd card then using the sd url in the email intent
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("image/jpeg");
sendIntent.putExtra(Intent.EXTRA_EMAIL, new String[]
{ "[email protected]" });
sendIntent.putExtra(Intent.EXTRA_SUBJECT,"World Toyata(via Android
App"); sendIntent.putExtra(Intent.EXTRA_STREAM,Uri.parse("file://
sdcard/worldtoyata/test.jpg"));
sendIntent.putExtra(Intent.EXTRA_STREAM,
sendIntent.putExtra(Intent.EXTRA_TEXT,"Problem Area Image");
startActivity(Intent.createChooser(sendIntent, ""));
Hi Friends I am taking picture with help of camera and then i am to
send the picture as email to client, i am using
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("image/jpeg");
sendIntent.putExtra(Intent.EXTRA_EMAIL, new String[]
{ "[email protected]" });
sendIntent.putExtra(Intent.EXTRA_SUBJECT,"World Toyata(via Android
App"); sendIntent.putExtra(Intent.EXTRA_STREAM,Uri.parse("file://
sdcard/worldtoyata/test.jpg"));
sendIntent.putExtra(Intent.EXTRA_STREAM,
sendIntent.putExtra(Intent.EXTRA_TEXT,"Problem Area Image");
startActivity(Intent.createChooser(sendIntent, ""));
i am storing captured image into SD card and then assigning the url
stored image
The problem is
It not attaching image to the mail
Then to add image to mail
it is not easy to test with the emulator
please help me...
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en