If the mms pdu has not enough information,how can i save the multi-... | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through August 08, 2004 ⬆ |
◄ ► |
Author | Message | |||
donald New member Username: Donald_xftang Post Number: 6 Registered: 04-2004 |
when i decode the byte stream of the mms pdu,some mms pdu is encoded in the application/vnd.wap.multipart.related type,it has presentation part(smil document) and the other part.But all the other part is only encoded in application/octet-stream format(can not get the other header information eg content-location as its filename).So when i finish decoding,i can not know the other part's filename.But when i want to play the smil,it choose the file according to the filename. My method is choose a random name as each filename,then parsing the smil document and test each file's type and rename them acording to the smil document.But if there is two part's file type is the same,it will conflicts. |