你如何使用Android发送彩信? [英] How do you send MMS using Android?

查看:170
本文介绍了你如何使用Android发送彩信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法弄清楚如何使用Android API发送加密彩信。我不想因为我的编码我自己的消息应用程序,所以请不要张贴在此线程使用该消息意图的解决方案。

I cannot figure out how to send an encrypted MMS message using the Android API. I do not want to use the Messaging Intent solution since I am coding my own messaging app so please do not post that on this thread.

我可以计算的唯一一件事就是做一个HTTP POST到自定义服务器中,但我想知道如果有周围的工作,让我通过手机发送载体彩信?

The only thing I can figure is to do an HTTP post to a custom server box, but I was wondering if there was a work around that would allow me to send the MMS through the cellphone carrier?

推荐答案

我也看了成彩信发送,而无需使用意图的机制所以无需用户交互。我没有发现任何东西非常理想的,但的确让一点进步与原型。

I've also looked into sending MMS without having to use the intent mechanism so there is no user interaction required. I didnt find anything ideal for this but did make a bit of progress with a prototype.

下面的博客文章与诺基亚code沿引用不存在的HTTPS POST并得到了一些进展不顺。的http://androidbridge.blogspot.com/2011/03/how-to-send-mms-programmatically-in.html.也有一定的帮助会这样发帖详细介绍一点有关的APN和处理附件:的我想通过用彩信发送图像的Andr​​oid

The following blog post along with the nokia code referenced there does the https POST and got some progress going. http://androidbridge.blogspot.com/2011/03/how-to-send-mms-programmatically-in.html. Also of some help was this SO post detailing a bit more about APNs and handling attachments: i want send image through using mms in Android

我能得到一些基本的彩信与那些打算,但我对Sprint和发现的方式code以上的过滤APNS wasnt发现Sprint的APN,我的手机有一个null类型。我修补周围,不得不用MMS工作在Sprint的附件。

I was able to get some basic MMS going with those but, I'm on Sprint and found that the way the code above filters APNS wasnt finding the Sprint APN that my phones have with a null type. I patched around that and had MMS with attachments working on Sprint.

在Verizon测试取得了一些更多的挑战。它似乎Verizon的使用的MMS网关HTTP主机当连接到Verizon的移动网络,这是唯一寻址的。当无线网络,你不能达到主机。我还没有发现如何内置彩信应用涉及Verizon的发送彩信时,WiFi是的。

Testing on Verizon yielded some more challenges. It seems Verizon uses an mms gateway http host that is only addressable when connected to the Verizon mobile network. When on wifi, you cant reach the host. I havent yet discovered how the built in MMS app deals with sending Verizon MMS when wifi is up.

所以,底线是我觉得你的pretty深入不必建立自己的服务来处理这个问题。没有为MMS没有的SDK支持,我不知道,处理它作为还没有任何开源项目。

So, bottom-line is I think your pretty deep into having to build your own service to handle this. There is no SDK support for MMS and I dont know of any opensource projects that handle it as of yet.

这篇关于你如何使用Android发送彩信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆