Sony Ericsson P800 Cell Phone User Manual


 
P800/P802
White Paper, January 2003
50
SMIL Example
As an example, consider a two-slide message. In this case it was created using the Sony
Ericsson MMS Home Studio described in the Personalisation and Customisation section of this
document.
Slide 1
Picture (Slide_1.jpg)
Text “this is my new car”
Audio: Slide_1.midi
Slide 2
Picture (Slide_2.jpg)
No text
Audio: Slide_2.amr
The following files are used:
Slide.txt contains the text for slide 1. The SMIL conveyed in the mms.smil file looks like this
example:
The components of the message will be encapsulated, like in the example below:
<smil>
<head>
<meta name="title" content="untitled" />
<meta name="author" content="MMS" />
<layout>
<root-layout width="160" height="160" />
<region id="Image" width="160" height="120" left="0" top="0" />
<region id="Text" width="160" height="20" left="0" top="120" />
</layout>
</head>
<body>
<par dur="35.723s">
<img src="Slide_1.jpg" region="Image" />
<audio src="Slide_1.mid" end="35.723s" />
<text src="Slide.txt" region="Text" />
</par>
<par dur="6.026s">
<img src="Slide_2.jpg" region="Image" />
<audio src="Slide_2.amr" end="6.026s" />
</par>
</body>
</smil>