How to send data to new activity from current activity via intent?
<p>How I can use the intent to send the data to the second class?</p>

<p>I am doing this actually</p>

<pre><code>Intent connectGetData = new Intent(Main.this, GetData.class);
startActivityForResult(connectGetData, REQUEST_GET_DATA); 
</code></pre>

<p>From <code>Main.java</code> activity I am calling the <code>Getdata.java</code> activity and I when come back I again get data using.</p>

<pre><code>public void onActivityResult(int mRequestCode, int mResultCode, Intent mDataIntent) 
</code></pre>

<p>Please tell me how I can send data to other activity </p>
