When we clicked push, it placed the MMS message in the emulator's Inbox. Just
like normal email and SMS, MMS messages could be plain-text. Or like an email
with attachments, they could contain multiple parts. Such messages are called
multipart??”one message contains multiple files??”each in its own part, separated by a
boundary. If you want to understand the structure of MMS, you need to understand
these three different types of multipart messages:
Chapter 7
[ 125 ]
Multipart-related: Apart from the content parts, there is also a special
presentation part at the beginning of the message. This part refers to other
parts and determines how the message will be displayed. We created a
multipart-related message in the example.
Multipart-alternative: Some devices supported alternative presentation
files??”SMIL or XHTML for example. When you include both XHTML and
SMIL for presentation, if the device supports XHTML in MMS, it will use
that. On other devices, SMIL will be used. The order of including these files is
in order of complexity. Simplest first. So first SMIL and then XHTML.
Multipart-mixed: If you just want your files shown sequentially or treated
like attachments, you can use multipart-mixed.
Pages:
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169