How to set Intent result in Layout
<p>friend's,
  I there any possibility to bind the result of Intent class in xml layout,</p>

<p>i'm doing it so for sending mail,i'm using below code for sending mail in</p>

<pre><code>Intent sendIntent = new Intent(Intent.ACTION_SEND);
                sendIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                sendIntent.putExtra(Intent.EXTRA_EMAIL,
                new String[] { "info@blacksheep.com" });
                sendIntent.setType("vnd.android.cursor.dir/email");
</code></pre>

<p>when i use the above code it opens a new page,but i need it to be in the layout alone.
How can i get it.</p>

<p>Thanks in advance.</p>
