Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old September 27th, 2010, 02:55 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default 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);
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.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


Thanks

Regards
Venkat

vgerao is offline  
Reply With Quote
sponsored links
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:33 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.