• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Attach multiple images to MMS message through Intent

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
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones