Writings Photos Code Contact Resume
mkmms available.

You are here

Submitted by msameer on Mon, 04/01/2010 - 1:29am

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 subject

It 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.


Submitted by Martin Grimme (not verified) on Mon, 04/01/2010 - 4:59pm

Amazingly great work!
As for SMIL, I think kmplayer has some code for rendering it.

Submitted by Matti Viljanen (not verified) on Tue, 05/01/2010 - 9:21am

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!

Submitted by Anonymous (not verified) on Tue, 05/01/2010 - 7:50pm

any plans to add GUI wrapper for usage by N900 non command line users?

Submitted by msameer on Tue, 05/01/2010 - 8:00pm

Sure a GUI is needed. This stuff is just a proof of concept for now :-)

Submitted by Anonymous (not verified) on Fri, 15/01/2010 - 2:37am

how do i get your mms app to work?? i downloaded it but nada.. just has a question mark.

Submitted by msameer on Fri, 15/01/2010 - 11:13pm

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.

Add new comment

Subscribe to /  digg  bookmark