You Are Here:

Community: Developer Discussion Boards

#1 Old can you tell me if this is ok IN A MMS?? - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 48
tinduc
Offline
Registered User
First all all i send all the message headers: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

THEN:
str3=0x8c;//message type+0x80=0x0c+0x80=0x8c
str4=0x80;//send-req=0x80
str5=0x98;//message-transaction id+0x80=0x98
str6=(TEXT("00000000000000000000000000000003&quot);//es la id
str7=0x00;//end of string
str8=0x8d;//mms_version+0x80=0x8d
str9=0x90;//versio 1.0
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

str20=0x01;}//how many part?
str20=0x02;}
str20=0x03;}

str23=0x01 -->//lenth of content type
XXXX-->SIZE OF THE PICTURE OR TEXT
0X03--->IT IS A TEXT PLAIN
TEXT....

IT IS OK????????????
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia