September 27th, 2010, 02:55 AM
Thread Author (OP)
Join Date: Sep 2010
Carrier: Not Provided
Thanked 0 Times in 0 Posts
Email Multiple Images
I am trying to mail more than one image. and i saved images in /mnt/sdcard/MyFolder/subFolder/
i am creating uri for this path using Uri.fromFile(file); and added this uri an ArrayList.
File file = new File("/mnt/sdcard/MyFolder/subFolder/1284965986728.jpg")
Uri uri = Uri.fromFile(file);
actually the above code is inside a loop for adding all images uri to an arraylist.
and this arrayList is used while invoking mail intent.
mailIntent.putParcelableArrayListExtra(Intent.EXTR A_STREAM, selectPhotoUri);
But images are not attached to mail.
i am missing anything. how to attach multiple imges which are saved in our predefined folders.
please help me in this issue