如何发送多部分二进制短信的Andr​​oid? [英] How to send multipart binary sms in Android?

查看:276
本文介绍了如何发送多部分二进制短信的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Android中发送一个二进制短信。但是,当消息的大小超过一个SMS,根据我在设备上得到不同的错误。

I'm trying to send a binary sms in Android. But when the size of the message exceeds one sms, I get different errors depending on the device.

我看到有送多部分文本短信的方法,而不是发送多部分二进制短信。所以,我有什么关系?

I saw there is a method to send multi-part text sms, but not for sending multi part binary sms. So, what I have to do?

推荐答案

似乎真的没有办法做到这一点。

It seems that there's really no way to do this.

我发现有人在两年前问Android开发者名单上的同样的事情,并没有收到任何答案,直到如今。不幸的是,我没有找到帖子的权利,但大约有这么多的其他问题:

I've found someone that asked this same thing on Android Developer list two years ago and received no answers until now. Unfortunately, I'm not finding the post right now, but there are many other questions about this:

<一个href=\"https://groups.google.com/forum/?hl=pt&fromgroups=#!searchin/android-developers/multipart%2420binary%2420sms/android-developers/nmeu3U3iJkE/bqjRd6pA_dIJ\"相对=nofollow> Android开发者>发送大二进制SMS

<一个href=\"https://groups.google.com/forum/?hl=pt&fromgroups=#!searchin/android-developers/multipart%2420binary%2420sms/android-developers/KDneoBgK4aI/phA4V2WNG6AJ\"相对=nofollow> Android开发者>缺少API functionallity发送二进制数据短信更是1

<一个href=\"https://groups.google.com/forum/?hl=pt&fromgroups=#!searchin/android-developers/multipart%2420binary%2420sms/android-developers/XT25TuYyrzM/t89zd9FGbMQJ\"相对=nofollow> Android开发者>更短的问题

我来的最佳解决方案横跨是EN code消息为Base64和发送的多部分文本短信。

The best solution I could came across was to encode the message as BASE64 and send as a multipart TEXT sms.

我希望这个答案帮助别人寻找同样认为,在未来的。

I hope this answer help someone looking for the same think in the future.

这篇关于如何发送多部分二进制短信的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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