Task:MMS

Introduction
The aim of this page is to list potential obstacles and solutions in regards to implementing MMS in Maemo 5 ”Fremantle” on the N900.

Use case
While this has been discussed much back and forth both on Talk and on #maemo, here are some points why MMS should be implemeneted:
 * Quickly sending private pictures to someone.
 * While most users tend to be able to receive MMS, there's a lot few with push e-mail on their phones atm (need citation, but this is what's come up in discussion; see Mms_implemention_conversation)

The advantage MMS have over e-mail on the phone as well is it's generally less spammy; e.g. no Facebook notification mails etc.

Implementation
To successfully implement MMS sending and receiving on the N900 the following has to be done:

Hooking in to the SMS receiving part and take control when the notification about MMS is received.
According to this post by danielwilms the final SDK for Maemo5 should let us do this through Telepathy. Hopefully. At least a way to handle SMS.

Fetch the MMS from the provider.
Multiple issues with this. Most operators only allow fetching of MMS when accessing via a specific APN. To access this you would have to temporarily suspend your current 3G connection and switch over to this (is this correct? need someone with knowledge on this).

Accessing the MMS "server" through a specific connection: iptables tweaking? Discussion at [|Mms_implemention_conversation#Technical]

Applications should be able to request a certain IAP to be activated; thus should the MMS app be able to request the correct APN. Source

Autoconnecting to the correct APN when needed, without user interaction. Should be solvable with the icd2 - anyone able to confirm this?

Format the MMS and display it correctly.
How open is the Messaging client?

Plenty of open source libs to do this in other languages:

PHP1 PHP2 Java JavaSE/JavaME C Python