sending MMS in android programmatically

梦想的初衷 提交于 2019-12-13 08:52:24

问题


Can any one help me with sending MMS programmatically in android, since I am new to developing, I am having trouble understanding this link!. If anyone could give me a working example that would be great. I've spent a couple of weeks at it now and can;t figure it out. Thanks in advance.


回答1:


there is no public API for handling MMS in android. There are some workarounds, but it may not work on some devices.




回答2:


Intent sendIntent = new Intent(Intent.ACTION_SEND); 
sendIntent.putExtra("sms_body", "some text"); 
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url));
sendIntent.setType("image/png"); 

you need more clarification go to this link http://jtribe.blogspot.in/2008/12/sending-mms-with-android.html



来源:https://stackoverflow.com/questions/9702171/sending-mms-in-android-programmatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!