Asked by:
Composing a MMS

Question
-
User-1318432863 posted
Hi,
I was wondering if anyone developed web page which allows users to compose and send an MMS?
Did you use a 3rd party component or do most mms gateway providers have some sort of api to do this?
Cheers,
David
Thursday, September 15, 2005 1:25 AM
All replies
-
User-95607119 posted
Read documentation of SMS/MMS gateway providers and choose the right one. If you have specific needs then choose provider who allows you to send out raw messages. In this case you have create MMS-es in your system.Thursday, September 15, 2005 10:29 AM -
User-1318432863 posted
Thanks for your answer. Most MMS providers accept a byte array for the content of the mms. So what i'm looking for is some code or control to build the body of the MMS. For example you should be able to attached images, text and sound to the message body.
The only MMS composer I have seen on the web is this:
http://www.mozat.com/en/solutions/solution-mms-composer.htm
Thursday, September 15, 2005 7:48 PM -
User-95607119 posted
You should read MMS specifications from mobile device producers and follow the guides given there.Friday, September 16, 2005 2:33 AM -
User-484987990 posted
pikey_77 : u need to somehow retrive the data (file, wave, avi, whatever) and convert it into a byte[]. There's plenty of examples of this out there on the net.
Then u need to check your MMS gateway provider to see what they accept. We all know that the defactor format is a byte[], but in what format? jpeg? avi? etc? the place i'm with accepts only jpg, jpeg, gif and 3gp. 3gp allows video and sound (as far as i know). i bought some conversion software (eg. mp3 -> 3gp, avi -> 3gp, wav -> 3gp) and then upload the 3gp files, convert them to base64 and then send that base64 byte[] off to the mms webserivce, along with username, password, phone number, etc...
it's not that hard to do. Will i post my code (eg. mms class, ecommerce controll class, etc) .. nope. sowwy. It took me an hour or two only. no big deal.
create files -> eg. jpg or 3gp.
save files somewhere (eg. root directory of app or website)
load file into a byte[] property in some new custom class.
convert byte[] content into base64 byte[].
talk to webservice passing data across.
done.Friday, October 14, 2005 10:44 PM -
User895556363 posted
I've managed to do it all the way till the webservice part... How do I post it to the MMSC thru WSP??
Any advice anyone?
Thursday, April 19, 2007 10:04 PM