×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    MMS receive size (server side programming)

    Hello.
    I have been working using Java Nokia Library to both send and receive messages.
    I have a problem though : I can't receive messages greater than 2 kb. I can receive smaller messages and delivery report without problems but the point is that my thread can't receive messages that contain a normal jpg or gif and I don't know why.
    Also I use synchronous to receive them ... otherwise I get a huge connection time-out error and miss the delivery report.
    Thank you for reading this hope somebody can help me.

  2. #2
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    Re: MMS receive size (server side programming)

    This is the error I get when trying to receive messages that are large with the Nokia Library
    java.lang.IndexOutOfBoundsException
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:89)
    at com.nokia.mms.MMContent.setContent(MMContent.java:88)
    at com.nokia.mms.MMDecoder.readMMBodyMultiPartMixed(MMDecoder.java:287)
    I do not know what to do since there is a problem with the header length in he message passed.
    I even put the message in a Vector and tried to increase it and only afterwards pass it to the Nokia function.
    This is very weird. Am I doing something wrong ?

Similar Threads

  1. MMS sample programming
    By sheryll_santos in forum General Messaging
    Replies: 1
    Last Post: 2004-08-02, 15:56
  2. mms content retrival from web server
    By zhujw in forum General Messaging
    Replies: 1
    Last Post: 2003-03-17, 21:11
  3. 7210 MMS vs. 7650 MMS ...
    By poncha in forum General Messaging
    Replies: 1
    Last Post: 2002-12-19, 11:07
  4. Image size for MMS phones
    By ravishankarbose in forum General Messaging
    Replies: 1
    Last Post: 2002-08-20, 05:56
  5. encoding of image size on mms header
    By pautamo in forum General Messaging
    Replies: 1
    Last Post: 2002-08-15, 11:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×