Email Multiple Images


Last Updated: 2010-09-27 07:55:07
  1. vgerao

    vgerao New Member

    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);
    arrayList.add(uri);

    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.setAction(Intent.ACTION_SEND_MULTIPLE);
    mailIntent.putParcelableArrayListExtra(Intent.EXTRA_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


    Thanks

    Regards
    Venkat

    Advertisement

Share This Page