MMS Application to Peer (MM7 to MM1) Content cannot be retrieved fu...

MMS Application to Peer (MM7 to MM1) Content cannot be retrieved fu... SearchSearch
Author Message
venuganan
New member
Username: Ap_venu

Post Number: 1
Registered: 07-2013
Posted on Sunday, July 21, 2013 - 03:56 pm:   

Latest Phones can render both image & text correctly. Where as old phone models doesn`t show text. Guide me with the below MM7 format.



------=_Part_73_31396198.1368441644394

Content-Type: multipart/related; type="application/smil"; start="<smilContent.smil>";

.boundary="----=_Part_40_10993329.1368441644382";type="application/smil"

Content-ID: <<smilContent.smil>-<message.txt>-<multimedia.gif>>

Content-Disposition: inline; filename="null"



------=_Part_40_10993329.1368441644382

Content-Type: application/smil; name=smilContent.smil

Content-Disposition: attachment; filename=smilContent.smil

Content-ID: <smilContent.smil>





<smil>

<head><meta name="title" content="test mms" />

<layout>

<root-layout width="240" height="320"/>

<region id="Image" width="100%" height="250" left="0" top="0" />

<region id="Text" width="100%" height="20" left="0" top="250" />

</layout>

</head>



<body>

<par dur="5s">

<img src="multimedia.gif" region="Image" />

</par>

<par>

<text src="message.txt" region="Text" />

</par>

</body>

</smil>

------=_Part_40_10993329.1368441644382

Content-Type: text/plain; charset=utf-8; name=message.txt

Content-Disposition: attachment; filename=message.txt

Content-ID: <message.txt>



Introducing the new Vios G Limited and improved Vios TRD Sportivo.

------=_Part_40_10993329.1368441644382

Content-Type: image/gif; name=multimedia.gif

Content-Disposition: attachment; filename=multimedia.gif

Content-ID: <multimedia.gif>
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4574
Registered: 08-2008
Posted on Monday, July 22, 2013 - 04:24 pm:   

Hi,

Do you really need to put the image and text on separate pages? It's not what you're asking about, but with Android phones, unless you have a strong reason to display as a SMIL presentation, it is better to keep it simple.

Here are a few things I would suggest ...

Remove the root-layout element.

Change the regions to use % instead of pixels.

If you continue approach of image and text on separate pages, make both regions full size:

<region id="Image" height="100%" width="100%" fit="meet"/>
<region id="Text" height="100%" width="100%" fit="scroll"/>

If you decide to put both on same page:

<region id="Image" height="75%" width="100%" fit="meet"/>
<region id="Text" top="75%" height="25%" width="100%" fit="scroll"/>

I'd also suggest adding a dur on the 2nd page. I did find an old tech note in our archives from 2005 ... it referenced a bug in some SonyEricsson phones where pages of an MMS message would not be displayed if there was a par element without a dur attribute.

--
Des
NowSMS Support