title: How to send MMS without intent programmatically
body: <pre><code>Uri uri = Uri.parse("file://"+Environment.getExternalStorageDirectory()+"/test.png");
      Intent i = new Intent(Intent.ACTION_SEND);
      i.putExtra("address","1234567890");
      i.putExtra("sms_body","This is the text mms");
      i.putExtra(Intent.EXTRA_STREAM,"file:/"+uri);
      i.setType("image/png");
      startActivity(i);
  </code></pre>
  
  <p>I want to send MMS but I don't want to use intent object like above because I am developing my own application of sms manager. So how can I send MMS?</p>
  
  <p>I am referring <a href="https://stackoverflow.com/questions/2972845/how-to-send-image-via-mms-in-android/2973016#2973016">to this link code</a> but I don't understand it and it doesn't work.</p>