I am facing problem with sending mulitple images via email.
I saved images in /mnt/sdcard/MyFolder/subFolder/*.jpg

i am creating uri for all the images using Uri.fromFile(filepath); and
added these uri's to ArrayList.

ArrayList<Uri> arrayList = new ArrayList<Uri>;
File filePath = new File("/mnt/sdcard/MyFolder/subFolder/*.jpg");
Uri uri = Uri.fromFile(filePath);
arrayList.add(uri);

and this arrayList is used while invoking mail intent.

Intent mailIntent = new Intent(ACTION_SEND);
mailIntent.setAction(Intent.ACTION_SEND_MULTIPLE);
mailIntent.putParcelableArrayListExtra(Intent.EXTR A_STREAM,
arrayList);

when i tried with single image its working. But when i am trying to
send multiple images (Arraylist images). images not attached to email.

whats wrong ? I missed anything. how to attach multiple images which
are saved in our predefined folders.

please help me. How to do ?

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