On Aug 18, 9:25 am, "Balwinder Kaur (T-Mobile USA)" <balwinder.k...@t-
mobile.com> wrote:
> Intent sendIntent = new Intent(Intent.ACTION_SEND);
> sendIntent.setType("image/jpg");
> sendIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new
> String[]{"[email protected]"});
> sendIntent.putExtra(Intent.EXTRA_STREAM, uri); // attachment
> sendIntent.putExtra(Intent.EXTRA_SUBJECT, "mysubject");
> startActivityForResult(Intent.createChooser(sendIntent, getResources
> ().getText(R.string.app_name)), 1);
>
> Balwinder Kaur
> Open Source Development Center
> ·T· · ·Mobile· stick together
>
> The views, opinions and statements in thisemailare those of the
> author solely in their individual capacity, and do not necessarily
> represent those of T-Mobile USA, Inc.
>
> On Aug 18, 3:25 am, SrilankanKK <[email protected]> wrote:
>
> > Hi all,
>
> > I'm try to send anemailwith multiple image attachments.I'm trying
> > to develop anapplicationwhich has a button and when i click the
> > button mail has to be sent with image attachments.
>
> >emailaddress is hard coded. If any way to do this plz post me a
> > reply.
>
> > Thanks,
>
>
Thanks for the reply. Your example works fine for one image
attachment. I need to attache multiple images to the mail. can you
give plz me an example for that.
Thank in Advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---