Send SMS via intent
<p>Hi I want to send sms via intent android
but when I use this code , it redirect me to wrong contact :</p>

<pre><code>                Intent intentt = new Intent(Intent.ACTION_VIEW);         
                intentt.setData(Uri.parse("sms:"));
                intentt.setType("vnd.android-dir/mms-sms");
                intentt.putExtra(Intent.EXTRA_TEXT, "");
                intentt.putExtra("address",  phone number);
                context.startActivity(intentt);
</code></pre>

<p>Why , Also I know a way to follow sms sednig , bt I do not know how code this:</p>

<pre><code>Starting activity: Intent { act=android.intent.action.SENDTO dat=smsto:%2B**XXXXXXXXXXXX** flg=0x14000000 cmp=com.android.mms/.ui.ComposeMessageActivity }
</code></pre>

<p>where XXXXXXXXXXXX is phone number</p>

<p>please help me </p>
