天道酬勤,学无止境

mms-gateway

安卓彩信解析(Android MMS Parsing)

问题 在我的一个应用程序中,我必须解析彩信内容。 我能够以byte[]的形式获取编码的彩信内容。 现在我必须解码这个 byte[] 并且需要根据它们的内容类型和标头值提取所有内容。 但我在这里挣扎。 我不知道如何开始解码... 任何帮助将不胜感激。 回答1 你有 byte[] 中的内容,所以你可以试试这个: byte[] buffer; String incomingNumber = new String(buffer); int indx = incomingNumber.indexOf("/TYPE"); if(indx>0 && (indx-15)>0){ int newIndx = indx - 15; incomingNumber = incomingNumber.substring(newIndx, indx); indx = incomingNumber.indexOf("+"); if(indx>0){ incomingNumber = incomingNumber.substring(indx); } 你可以继续这样解析。

2021-11-15 13:31:02    分类:技术分享    java   android   mms   mms-gateway

Android MMS Parsing

In one of my application, I have to parse the MMS content. I am able to get the encoded MMS content in the form of byte[]. Now I have to decode this byte[] and need to extract all the content based on their content types and header values. But I am struggling here. I don't know how to start decoding... Any help will be appreciated.

2021-11-09 09:33:28    分类:问答    java   android   mms   mms-gateway

How to send MMS with MM7 using Java?

Please let me know is there any way to send MMS using MM7 protocol in Java? If there is a free API to generate the appropriate SOAP message please let me know it too. I'm in a dead end situation and I really need a way to do this. Your wise suggestions are also welcome. Thank in advance.

2021-07-29 07:13:51    分类:问答    java   jakarta-ee   mms   mms-gateway   mm7