I want to write an application which sends image Files with a particular MIME type by MMS on a 7610.
To do that, I use a MMS MTM client: CMmsClientMtm.
iMmsMtm->CreateAttachment2L( attachmentID, attachmentFile );
iMmsMtm->SetAttachmentTypeL( attachmentID, content );
where content is the MIME type of the attachmentFile file.
The image file is recognized by the mobile phone : I can open it with the standart image viewer, but it is not a standart for the MMS. If I do not use the explicit iMmsMtm->SetAttachmentTypeL, the MTM client does not recognize the type and "crash".
When i declare explictly the mime type, the MMS is sent correctly, and I can see correctly it in the send folder of messaging application (body text, subject and the image).
But when i receive this MMS, the image file is deleted and remplaced by a text message : Unsorpported content type.
How can i do to receive correctly the MMS ?
Must I write a recognizer for this mime type ?
All sugestions are welcome.
Thanks