The MMSMIDlet allows you to create and send MMS messages with text and image content.
The MIDlet UI consists of three screens: one for capturing an image, one for composing the message to be sent, and one for displaying a received message.
On current Nokia Asha and Series 40 software platform devices, MMS messages are received in the inbox of the device's default messaging client. The MMSMIDlet cannot therefore display received messages.
To capture an image, select Capture. In the Series 40 full touch version of the MIDlet, images can be captured by a tap gesture.
Figure: Capturing an image
The message composition screen contains a snapshot of the captured image and user-editable fields for the destination number and message text. When you select Send, the MIDlet calls the sendMessage method of the main class and sends the message in a new thread. Both the receiving and the sending end use the same application ID in their connections to be able to explicitly communicate with each other.
Figure: Composing a message
On the receiving end, the MIDlet listens for incoming messages and displays them upon their arrival. Note that the MIDlet offers no way to manage multiple incoming messages. If it receives several messages in a row, it only displays the last one while the others are lost.
Figure: Receiving a message
In MIDP 2.0, you can use the PushRegistry class to automatically start a MIDlet when a new message arrives. However, the present MIDlet does not implement this feature. Because the MIDlet does not register itself to be woken up when a message arrives, the user on the receiving end must manually start the MIDlet to process an incoming message. To test the MIDlet, you can also send messages to its own number.
The Series 40 full touch version of the MIDlet uses the Orientation API to detect display orientation changes and adjust its UI orientation accordingly. However, the UI orientation is not adjusted when taking a picture.
For instructions on how to implement the MIDlet, see section Implementation.