- 博客(3)
- 收藏
- 关注
原创 基于华为smproxy_20040730.jar的CMPP和SMPP的短信构造(支持长短信)
网上有许多关于CMPP和SMPP的介绍,这里不重复说了,直接介绍短信的构造方法。1、CMPP短信构造方法:/** * 构造消息体 * msisdns:要发送的手机号码 * msgContent:消息内容 */private CMPPSubmitMessage[] productMsg(String[] msisdns, String msgContent);如果
2012-05-31 17:06:11
4303
原创 将Native编码的字符串转化为Unicode编码的字符
/** * 将Native编码的字符串转化为Unicode编码的字符 * * @param str * @return String */public static String ascii2Native(String str) { try { byte[] buffer = new byte[str.length() * 2]; int j = 0;...
2011-08-31 15:24:12
529
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人