0

I would like to send a vCard via MMS (since SMS does not support file attachments..). I have read many answers about launching the messaging app with an intent (Sending an MMS with a vCard for example) but I could not find a way to send the MMS directly from my application, without directing the user to the messaging application.

There are SEND_SMS, RECEIVE_SMS and RECEIVE_MMS permissions in the manifest but no SEND_MMS. So is there any workaround that can allow me to send a vCard to another phone number on new android versions directly from my app?

Community
  • 1
  • 1
Ohad
  • 1,450
  • 4
  • 18
  • 27

2 Answers2

0

Since MMS is a HTTP based request in Android all you need is the internet permission.

BUT since there is not MMS API (like there is for SMS) you would have to write everything on your own.

Maybe have a look at this.

Or you could just use an Intent and launch the native Messaging App.

AKroell
  • 622
  • 4
  • 18
0

I thnk this can Help you

MMS is just a htttp-post request. You should perform the request using extra network feature :

https://stackoverflow.com/a/2973016/2931489

Community
  • 1
  • 1
Harsh Patel
  • 1,056
  • 2
  • 10
  • 20