Accessing filepath in Android using onActivityResult
<p>I have an buttonClick on which I send some data to a mailid, but with these message I need to send an image as attachment. But I could get only imagepath in the function</p>

<pre><code>onActivityResult(int requestCode, int resultCode, Intent data)
</code></pre>

<p>which is after OnCreate method</p>

<p>but buttonClick comes in  <code>public void onCreate(Bundle savedInstanceState)</code> how can I fetch the data from onActivityResult.Looking for the reply.thanks.</p>
