I can't see the MMS Message in a phone

I can't see the MMS Message in a phone SearchSearch
Author Message
Darien Jesus Alvarez de la Cruz
New member
Username: Darien

Post Number: 2
Registered: 12-2005
Posted on Friday, January 20, 2006 - 02:30 pm:   

I have wrote this header and SMIL file:

X-Mms-Message-Type: m-retrieve-conf
X-Mms-Version: 1.0
From: +53xxxxxxxx/TYPE=PLMN
To: +53xxxxxxxx/TYPE=PLMN
Subject: test
X-Mms-Message-Class: Personal
X-Mms-Priority: Normal
X-Mms-Delivery-Report: No
X-Mms-Read-Reply: No
Content-type: application/vnd.wap.multipart.related; start=<test.smil>; type=application/smil


<smil xmlns = "">
<head>
<layout>
<root-layout title = " -Horoscope- " id = "horoscope" height = "176" width = "176" background-color = "#ffffff"/>
<region title = "Start Logo" id = "main" top = "0%" left = "0%" height = "100%" width = "100%" z-index = "1"/>
<region title = "Sign" id = "sign" top = "0%" left = "0%" height = "22.727272727272727%" width = "100%" z-index = "2"/>
<region title = "Date Border1" id = "dateBorder1" top = "25.0%" left = "0%" height = "11.363636363636363%" width = "6.25%" z-index = "2"/>
<region title = "Date" id = "date" top = "26.704545454545453%" left = "0%" height = "7.954545454545454%" width = "98.29545454545455%" z-index = "2"/>
<region title = "Date Back" id = "dateBack" top = "25.0%" left = "6.25%" height = "11.363636363636363%" width = "93.75%" z-index = "2"/>
<region title = "Text Box" id = "textBox" top = "36.36363636363637%" left = "0%" height = "36.93181818181818%" width = "100%" z-index = "2"/>
<region title = "Line" id = "line" top = "73.29545454545455%" left = "0%" height = "0.5681818181818182%" width = "100%" z-index = "2"/>
<region title = "Logo" id = "logo" top = "73.86363636363636%" left = "34.09090909090909%" height = "14.772727272727273%" width = "31.818181818181817%" z-index = "2"/>
</layout>
</head>
<body>
<seq>
<par>
<img region = "main" id = "HoroscopeImage" src = "cid:main_screen_image.png" dur = "3s"/>
</par><par><img region = "sign" id = "signImage" src = "cid:sign_image.png" dur = "9s"/>
<text region = "dateBack" id = "dateBackBar" type = "text/plain" src = "cid:blank_text.txt" dur = "9s">
<param name = "backgroundColor" value = "#000066"/></text><text region = "date" id = "dateText" type = "text/plain" src = "cid:date_interval.txt" dur = "9s">
<param name = "fontColor" value = "#ffffff"/>
<param name = "fontPtSize" value = "17"/>
<param name = "fontWeight" value = "bold"/>
<param name = "backgroundColor" value = "#4d4d94"/>
<param name = "hAlign" value = "center"/>
</text><img region = "dateBorder1" id = "dateBorder1Image" src = "cid:border_image.png" dur = "9s"/>
<text region = "line" id = "LineBar" type = "text/plain" src = "cid:blank_text" dur = "9s">
<param name = "backgroundColor" value = "#000066"/>
</text><text region = "textBox" id = "horoscopeText" type = "text/plain" src = "cid:horoscope_text.txt" dur = "9s">
<param name = "fontColor" value = "#000000"/>
<param name = "fontPtSize" value = "11"/>
<param name = "fontWeight" value = "bold"/>
<param name = "backgroundColor" value = "#ffffff"/>
<param name = "hAlign" value = "center"/>
</text><img region = "logo" id = "LogoImage" src = "cid:logo_image.png" dur = "9s"/>
<text region = "bar" id = "Bar2" type = "text/plain" src = "cid:blank_text.txt" dur = "9s">
<param name = "backgroundColor" value = "#000066"/>
</text>
</par>
</seq>
</body>
</smil>


i use mmscomp header.hdr test.smil
when i recieve the MMS the content files are viewed as attachment. I can't found the problem. Please help me,

Darien
Darien Jesus Alvarez de la Cruz
New member
Username: Darien

Post Number: 3
Registered: 12-2005
Posted on Friday, January 20, 2006 - 02:39 pm:   

That is the MMS

application/octet-streamMMS Built
header.MMS (16.8 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5478
Registered: 10-2002
Posted on Friday, January 27, 2006 - 10:48 pm:   

Hi,

It works properly for me.

I just tried it on a SonyEricsson W800, and I get a SMIL presentation.

My suspicion is that some phones might be confused by the SMIL.

I'd suggest dumbing it down ... I mean, simplifying the SMIL ...

For starters, remove the empty "xmlns" parameter, as a client might choke on that.

Try to use fewer regions.

Try without all of the "param" elements.

Use direct filename references without the "cid:" in your "src" values.

Just really simplify the SMIL ... because I think that is where the problem is, at least on some phones.

-bn
jose
New member
Username: Josemarinno

Post Number: 4
Registered: 01-2006
Posted on Tuesday, January 31, 2006 - 05:38 pm:   

Well, thanks a lot, with your recomendations the smil work but it still work a litter bit bad. First, I cant tell throw parameter the backgraund and i need set the parameter. Secound: The pic are unorganize, I dont know why the smil don organize the pic in the MMS. The phones I'm using for test the MMS are Siemens M75, Sony-Ericson P800.I'll show you the code now. Please check it and let me know if you see any problem. Thanks a lot.

Smil Code:

<smil><head><layout><root-layout title = " -Horoscope- " id = "horoscope" height = "100" width = "100" background-color = "#ffffff"/><region title = "Start Logo" id = "main" top = "0%" left = "0%" height = "100%" width = "100%"/><region title = "Bar" id = "bar" top = "88.6%" left = "0%" height = "11.4%" width = "100%"/><region title = "Sign" id = "sign" top = "0%" left = "0%" height = "22.7%" width = "100%"/><region title = "Date Border1" id = "dateBorder1" top = "25%" left = "0%" height = "11.4%" width = "6.2%"/><region title = "Date" id = "date" top = "26.7%" left = "8%" height = "8%" width = "92%"/><region title = "Date Back" id = "dateBack" top = "25%" left = "6.2%" height = "11.4%" width = "93.8%"/><region title = "Text Box" id = "textBox" top = "36.4%" left = "0%" height = "36.9%" width = "100%"/><region title = "Line" id = "line" top = "73.3%" left = "0%" height = "0.6%" width = "100%"/><region title = "Logo" id = "logo" top = "73.9%" left = "34.1%" height = "14.8%" width = "31.8%"/></layout></head><body><seq><par><img region = "main" id = "HoroscopeImage" src = "main_screen_image.png" dur = "3s"/></par><par><img region = "sign" id = "signImage" src = "sign_image.png" dur = "9s"/><text region = "dateBack" id = "dateBackBar" type = "text/plain" src = "blank_text.txt" dur = "9s"/><text region = "date" id = "dateText" type = "text/plain" src = "date_interval.txt" dur = "9s"/><img region = "dateBorder1" id = "dateBorder1Image" src = "border_image.png" dur = "9s"/><text region = "line" id = "LineBar" type = "text/plain" src = "blank_text.txt" dur = "9s"/><text region = "textBox" id = "horoscopeText" type = "text/plain" src = "horoscope_text.txt" dur = "9s"/><img region = "logo" id = "LogoImage" src = "logo_image.png" dur = "9s"/><text region = "bar" id = "Bar2" type = "text/plain" src = "blank_text.txt" dur = "9s"/></par></seq></body></smil>

Header Code:
X-Mms-Message-Type: m-retrieve-conf
X-Mms-Version: 1.0
To: +5352800340/TYPE=PLMN
Subject: Horoscope
X-Mms-Message-Class: Personal
X-Mms-Priority: Normal
X-Mms-Delivery-Report: No
X-Mms-Read-Reply: No
Content-type: application/vnd.wap.multipart.related; start=<horos.smil>; type=application/smil



Darien Jesus Alvarez de la Cruz
New member
Username: Darien

Post Number: 7
Registered: 12-2005
Posted on Tuesday, January 31, 2006 - 08:48 pm:   

I have a question because when i receive the MMS i have problems with the SMIL presentation. I think that the phone not interpret the regions, for example the second image is under the first one, not at the right side as i want.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5505
Registered: 10-2002
Posted on Wednesday, February 01, 2006 - 08:01 pm:   

Can you upload a ZIP with the files that you are passing to MMSCOMP? That way I an experiment a little with them.

If you are having problems setting the background color ... keep in mind that most phones support only very basic SMIL ... and they might not support setting the background color.

Also, it is very possible that the phone may not support regions, or support them only in a very simplistic fashion. You might want to download the MMS Conformance document here:

http://www.openmobilealliance.org/release_program/docs/CopyrightClick.asp?pck=MM S&file=V1_2-20050429-A/OMA-MMS-CONF-V1_2-20050301-A.pdf

It talks about SMIL requirements in MMS.

But unfortunately, what you'll often see is that implementations are very simplistic.

-bn