×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    48

    I AM SENDIN THE FOLLOWING, BUT I DON'T KNOW IF IT IS OK.

    str1="POST / HTTP/1.1\r\nx-nokia-mmsc-message-id:000000000000000000000000000003\r\nx-nokia-mmsc-version:1.1\r\nx-nokia-mmsc-message-type: MultimediaMessage\r\nContent-Type: application/vnd.wap.mms-message\r\nContent-Length: 2340\r\nUser-Agent: Java1.4.0_02\r\nHost: localhost:8000\r\nAccept: */*\r\nConnection: keep-alive";

    str3=0x8c;//message type+0x80=0x0c+0x80=0x8c
    str4=0x80;//send-req=0x80
    str5=0x98;//message-transaction id+0x80=0x98
    str6=(TEXT("00000000000000000000000000000003&quot);// id
    str7=0x00;//end of string
    str8=0x8d;//mms_version+0x80=0x8d
    str9=0x90;//versio 1.1
    str10=0x89;//from+0x80=0x09+0x80
    str11=0x10;//llargada del from+2
    str12=(TEXT("+123/TYPE=PLMN&quot);
    str13=0x80;
    str14=0x00;//end of string
    str15=0x97;//to+0x80=0x17+0x80=0x97
    str16=(TEXT("147.83.39.32/TYPE=IPv4&quot);
    str17=0x00;//end of string
    str18=0x84;//content-type+0x80=0x04+0x80=0x84
    str19=0xa3;//multipart-mixed+0x80=0x23+0x80=0xa3


    if (cont=1){ str20=0x01;}//how many part?(ONE)
    if (cont=2){ str20=0x02;}(TWO)
    if (cont=3){ str20=0x03;}(OR THREE)
    0X01-->ONLY CONTENT TYPE
    056F (SIZE OF THE TEXT/IMAGE...)
    -.....TEXT OR IMAGE.....

    IT IS OK?????

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Texas, USA
    Posts
    260

    RE: I AM SENDIN THE FOLLOWING, BUT I DON'T KNOW IF IT IS OK.

    Hello

    The first problem that I see is...
    The MMS version (multimedia messaging service)is different from the MMSC version (Multimedia Messaging Service Center). You should be using MMS version 1.0 Most MMS compatible phones currently support MMS version 1.0 Have they finalized the documents for MMS version 1.1?

    Refer to "MMS Center Application Development Guide" document at
    http://www.forum.nokia.com/
    "Messaging" --> "Multimedia Messaging" --> "Development and Tools" --> "Development and Testing"

    If you are having problems creating an MMS message, it can be done using the "Nokia Developer's Suite for MMS" at Forum Nokia at
    "Messaging" --> "Multimedia Messaging" --> "Development and Tools" --> "Message Authoring"

    Also, for specific mms-header descriptions, refer to WAP-209-MMSEncapsulation document. This can be found at the WAP Forum Org.

    Good Luck and have fun!
    ~quyen

Posting Permissions

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