Parse application/smil MMS MIME type on android
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Etienne <lawloretie... @gmail.com>
Date: Thu, 19 Jul 2012 01:37:15 -0700 (PDT)
Local: Thurs, Jul 19 2012 4:37 am
Subject: Parse application/smil MMS MIME type on android
So I have come across three categories of MMS message types:
Plain Text - "text/plain" Image - "image/jpeg", "image/bmp", "image/gif", "image/jpg", "image/png" SMIL (Synchronized Multimedia Integration Language) - "application/smil"
So i don't have an issue grabbing the data in an MMS that falls into the first two categories. However i am having trouble grabbing the data from MMS of message type "application/smil"
Below i have included 5 different examples of application/smil MMS messages that I have pulled from my phone.
[31, 22, -1, application/smil, 123_1.smil, 106, null, null, <0000>, 0.smil, null, null, null, <smil> <head> <layout> <root-layout height="160" width="240"/> <region fit="meet" height="67%" id="Image" left="0%" top="0%" width="100%"/> <region fit="meet" height="33%" id="Text" left="0%" top="67%" width="100%"/> </layout> </head> <body> <par dur="8000ms"> <img region="Image" src="cid:992"/> </par> <par dur="8000ms"> <img region="Image" src="cid:993"/> </par> </body> </smil>]
.
[22, 14, -1, application/smil, null, null, null, null, <smil>, smil.xml, null, null, null, <smil> <head> <layout> <root-layout width="320px" height="480px"/> <region id="Image" left="0" top="0" width="320px" height="320px" fit="meet"/> <region id="Text" left="0" top="320" width="320px" height="160px" fit="meet"/> </layout> </head> <body> <par dur="5000ms"> <img src="8555" region="Image"/> <text src="text_0.txt" region="Text"/> </par> </body> </smil>]
.
[13, 11, -1, application/smil, 123_1.smil, null, null, null, <0000>, null, null, null, null, <smil> <head> <layout> <root-layout/> <region fit="scroll" height="30%" id="Text" left="0%" top="70%" width="100%"/> <region fit="meet" height="70%" id="Image" left="0%" top="0%" width="100%"/> </layout> </head> <body> <par dur="10000ms"> <text region="Text" src="cid:928"/> </par> </body> </smil>]
.
[16, 13, -1, application/smil, mms.smil, null, null, null, <AAAA>, AAAA, null, null, null, <smil> <head> <layout> <root-layout width="240" height="160"/> <region id="Image" width="100%" height="67%" left="0%" top="0%" fit="meet"/> <region id="Text" width="100%" height="33%" left="0%" top="67%" fit="meet"/> </layout> </head> <body> <par dur="8000ms"><text src="text__01.txt" region="Text"/></par></body> </smil>]
.
[5, 5, -1, application/smil, smil.smil, 106, null, null, <0000>, smil, null, null, null, <smil> <head> <layout> <root-layout height="160" width="240"/> <region fit="meet" height="67%" id="Image" left="0%" top="0%" width="100%"/> <region fit="meet" height="33%" id="Text" left="0%" top="67%" width="100%"/> </layout> </head> <body> <par dur="8000ms"> <img region="Image" src="cid:351"/> <text region="Text" src="cid:352"/> </par> </body> </smil>]
How exactly do you go about parsing this type of MMS? Any help would be greatly appreciated.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Erik <e... @browne.name>
Date: Thu, 19 Jul 2012 12:59:29 -0700 (PDT)
Local: Thurs, Jul 19 2012 3:59 pm
Subject: Re: Parse application/smil MMS MIME type on android
Here's where to start:
http://lmgtfy.com/?q=mms+smil
-Erik
On Thursday, July 19, 2012 1:37:15 AM UTC-7, Etienne wrote:
> So I have come across three categories of MMS message types:
> Plain Text - "text/plain" Image - "image/jpeg", "image/bmp", "image/gif", > "image/jpg", "image/png" SMIL (Synchronized Multimedia Integration > Language) - "application/smil"
> So i don't have an issue grabbing the data in an MMS that falls into the > first two categories. However i am having trouble grabbing the data from > MMS of message type "application/smil"
> Below i have included 5 different examples of application/smil MMS > messages that I have pulled from my phone.
> [31, 22, -1, application/smil, 123_1.smil, 106, null, null, <0000>, 0.smil, null, null, null, <smil> > <head> > <layout> > <root-layout height="160" width="240"/> > <region fit="meet" height="67%" id="Image" left="0%" top="0%" width="100%"/> > <region fit="meet" height="33%" id="Text" left="0%" top="67%" width="100%"/> > </layout> > </head> > <body> > <par dur="8000ms"> > <img region="Image" src="cid:992"/> > </par> > <par dur="8000ms"> > <img region="Image" src="cid:993"/> > </par> > </body> > </smil>]
> .
> [22, 14, -1, application/smil, null, null, null, null, <smil>, smil.xml, null, null, null, <smil> > <head> > <layout> > <root-layout width="320px" height="480px"/> > <region id="Image" left="0" top="0" width="320px" height="320px" fit="meet"/> > <region id="Text" left="0" top="320" width="320px" height="160px" fit="meet"/> > </layout> > </head> > <body> > <par dur="5000ms"> > <img src="8555" region="Image"/> > <text src="text_0.txt" region="Text"/> > </par> > </body> > </smil>]
> .
> [13, 11, -1, application/smil, 123_1.smil, null, null, null, <0000>, null, null, null, null, <smil> > <head> > <layout> > <root-layout/> > <region fit="scroll" height="30%" id="Text" left="0%" top="70%" width="100%"/> > <region fit="meet" height="70%" id="Image" left="0%" top="0%" width="100%"/> > </layout> > </head> > <body> > <par dur="10000ms"> > <text region="Text" src="cid:928"/> > </par> > </body> > </smil>]
> .
> [16, 13, -1, application/smil, mms.smil, null, null, null, <AAAA>, AAAA, null, null, null, <smil> > <head> > <layout> > <root-layout width="240" height="160"/> > <region id="Image" width="100%" height="67%" left="0%" top="0%" fit="meet"/> > <region id="Text" width="100%" height="33%" left="0%" top="67%" fit="meet"/> > </layout> > </head> > <body> > <par dur="8000ms"><text src="text__01.txt" region="Text"/></par></body> > </smil>]
> .
> [5, 5, -1, application/smil, smil.smil, 106, null, null, <0000>, smil, null, null, null, <smil> > <head> > <layout> > <root-layout height="160" width="240"/> > <region fit="meet" height="67%" id="Image" left="0%" top="0%" width="100%"/> > <region fit="meet" height="33%" id="Text" left="0%" top="67%" width="100%"/> > </layout> > </head> > <body> > <par dur="8000ms"> > <img region="Image" src="cid:351"/> > <text region="Text" src="cid:352"/> > </par> > </body> > </smil>]
> How exactly do you go about parsing this type of MMS? Any help would be > greatly appreciated.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Etienne <lawloretie... @gmail.com>
Date: Mon, 23 Jul 2012 10:29:21 -0700 (PDT)
Local: Mon, Jul 23 2012 1:29 pm
Subject: Re: Parse application/smil MMS MIME type on android
You must
Sign in before you can post messages.
You do not have the permission required to post.