Search code examples
androidmms

MMS Intent ACTION_SEND


I need to send MMS from my Activity, but i don`t know how to do it without Intent. with Intent, I'm posting so:

Intent sendIntent = new Intent(Intent.ACTION_SEND);
        sendIntent.putExtra("address", "number");
        sendIntent.putExtra("sms_body", "body");
        Uri uri = Uri.fromFile(new File(Environment.getExternalStorageDirectory().getPath()+"/Image/Android/1_Hazey_Android.jpg"));
        sendIntent.putExtra(Intent.EXTRA_STREAM, uri);
        sendIntent.setType("image/*");
        startActivityForResult(Intent.createChooser(sendIntent, "Send Image To:"),1);

for 3 days I am suffering with this. I seen in android market apps: handsend sms, chompr sms, go sms, who send mms from his app. me need to do well.

tell me how to do this.


Sorry for my English


Solution

  • This will give you the answer to your question: how to send SMS on the attached content

    I use Nokia Java based MMS implementation.

    For receiving MMS I use class MmsMonitor

    P.S. The recipient of the data at least some are coming from?