As promised yesterday, I'll start cleaning up my code a bit preparing to post it here.
Here's mkmms. It's a minimalistic application that allows you to create an MMS and attach ONLY 1 file which can be jpg, png, gif or txt (I hadn't tested anything beyond jpg).
Note that it's alpha quality.
There's also a parser that will print some info about any MMS passed as an argument but it's commented out.
Use it like this:
./mkmms <to address> /home/mohammed/me.jpg m-send-req.mms subjectIt needs QtCore and only that.
Don't ask about the license. It uses some bits from Qt extended, some from mmsdec and some are my own but you should be OK if you assume GPL for now.
I wrote it to make sure the MMS library works and to generate MMS messages to test.
Next, I need to clean up my sending code and post it.
Now a bit about MMS:
MMS is just a bunch of attachments cooked together using the WSP encapsulation protocol.
A typical MMS consists of a header and a body. The header contains the From, To, CC, BCC, Subject, ... parts.
The body contains the actual parts. A part can be a video, an image, some text or anything (Not exactly sure).
Now there's something called SMIL out there.
SMIL is some sort of XML that tells the "phone" how to render the MMS. MMS can contain a SMIL part and that's usually the first part of the body (I think the standard demands it being the first part) but it doesn't have to be there.
For now, I'll ignore something called SMIL at all.
Next: Sending MMS to the actual gateway.











Amazingly great work!
As for SMIL, I think kmplayer has some code for rendering it.
Quite awesome! I knew it was only a matter of time. Congratulations on this one! You just pretty much voided the "iPhone issue" on N900, as well as all the mocking!
any plans to add GUI wrapper for usage by N900 non command line users?
Sure a GUI is needed. This stuff is just a proof of concept for now :-)
how do i get your mms app to work?? i downloaded it but nada.. just has a question mark.
This is not an MMS app. It's a tool that allows you to create MMS.
Unfortunately, It's not ready for end users yet.