go from activty A to B and come back to A android
<p>I have read a lot but still havn't got my full answer.
When starting app A,within onCreate method I get data from Api and set on ListView.
Here also I have button and when I click to it I am going to Activity B and send some data.
Within my B activity I send data to my api and if response status is ok I want to go back to activity A and reload data:call oncreate method in wich located my call function to api.
In my manifest I have set<br>
 <code>&lt;activity android:name=".A"
    android:launchMode="singleInstance" &gt;&lt;/activity&gt;</code></p>

<p>but when I call startActivity: </p>

<pre><code>Intent i = new Intent(B.this,A.class);
              Bundle b = new Bundle();
              String from = "upload";
              b.putString("action", from);
              startActivity(i);
</code></pre>

<p>I dont start activty A from point onCreate.
I have already tried call finish() function after going to activity B but this doesn't get my any result.
I want to append that in A activity I get file from gallery and pass uri to activity B. </p>

<p>Thanks.</p>
