Problem with Sending MMS through SMPP to Sony Ericsson W830i Handset | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through November 12, 2008 ⬆ |
◄ ► |
Author | Message | |||
Vijaya Rama Kannan New member Username: Akramkannan Post Number: 1 Registered: 09-2007 |
Hi, Am akram Am using the following Code to send MMS to handsets. Am using Sony Ericsson w830i handset to receive MMS messages request.setDestAddr(new Address((byte)1, (byte)1, destAddress)); request.setReplaceIfPresentFlag(replaceIfPresentFlag); ByteBuffer toneData = loadByteBuffer("C:\mnop.gif"); request.setScheduleDeliveryTime(scheduleDeliveryTime); request.setValidityPeriod(validityPeriod); ByteBuffer message = new ByteBuffer(); message.appendByte((byte)4); message.appendByte((byte)5); message.appendByte((byte)6); message.appendShort((short)0x158A); message.appendBuffer(toneData); request.setDataCoding((byte)0x0F5); request.setShortMessageData(message); request.setShortMessage(shortMessage); request.setEsmClass((byte)(Data.SM_UDH_GSM)); request.setProtocolId(protocolId); request.setPriorityFlag(priorityFlag); request.setRegisteredDelivery(registeredDelivery); request.setDataCoding(dataCoding); request.setSmDefaultMsgId(smDefaultMsgId); request.assignSequenceNumber(true); response = session.submit(request); I am able to receive the message, But the message says corrupted. my assume is something need to do with MMS receiving PORT. I read some nowsms forums and came to know PORT 0x158A is plays the part of receiving Images. Is Sony Ericsson Mobiles having any other seperate PORT spec to receice MMS? Help me in this regard, Thanks in Advance, Akram |