Search code examples
javajava-memobilemms

How to programmatically attach a file to the MMS Editor using J2ME?


In order to open the phone default MMS Editor in J2ME I use this code:

platformRequest("mms://");

If I want to specify the number, I do it like that:

platformRequest("mms://+123456789");

But I need to attach a file to this message (let's say E:\Videos\1.3gp), and i don't find anywhere how to add the file parameter. So the default MMS Editor has its video attached, and the user has to enter the number and subject and press send.

Thanks.


Solution

  • Well no way to do this, i made a workaround by making the user open the file using real player or whatever default player on the device using

    Program.platformRequest("file:///....3gp");
    

    then the user can have access to send the file using MMS by clicking options and send as provided in this default player ...