Hi,
I am newbie to Android development and am facing a problem of attaching multiple images to MMS message through intent means.
Basically, I have a gallery like application where I can select multiple photos and am trying to share using MMS.
I want to launch MMS activity screen with all the photos selected in the message body from my application.
However, I am able to attach only one image using Intent.ACTION_SEND.
I am working on Android 1.5 and it seems that Intent.ACTION_SEND_MULTIPLE in supported in this version.
My code snippet on configuration of Intent is as below:
Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra("sms_body", "xxx");
intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(URI)));
intent.setType("image/*");
startActivity(intent);
Any suggestions on workaround this will be highly appreciated.
Thanks and Regards,
Pruthibi
I am newbie to Android development and am facing a problem of attaching multiple images to MMS message through intent means.
Basically, I have a gallery like application where I can select multiple photos and am trying to share using MMS.
I want to launch MMS activity screen with all the photos selected in the message body from my application.
However, I am able to attach only one image using Intent.ACTION_SEND.
I am working on Android 1.5 and it seems that Intent.ACTION_SEND_MULTIPLE in supported in this version.
My code snippet on configuration of Intent is as below:
Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra("sms_body", "xxx");
intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(URI)));
intent.setType("image/*");
startActivity(intent);
Any suggestions on workaround this will be highly appreciated.
Thanks and Regards,
Pruthibi