maintain state of activity after calling it again
<p>I have two Activities A1 and A2 , on firing some event i am calling A2 (through intent) from A1.
Now inside A2 i am firing some event and based on that i am calling A1 again and passing data through intent).</p>

<p>Now the problem is When A1 gets called from A2 with data , A1 activity load with itself with a new state but i want to maintain its old state when A1 was first loaded. indirectly i don't want to call onCreate.</p>

<p>so far i have tried following code in A1 activity , its a static method in A1 which load itself</p>

<pre><code>public static void show(Context context , int index)    
    {
          final Intent intent = new Intent();
          intent.setAction(MC_MY_ACTION);
          intent.putExtra("routeIndex", index);
          context.startActivity(intent);

    }
</code></pre>

<p>from A2 i am calling A1 as follows from onOptionsItemSelected and passing the  selectedMenuIndex</p>

<pre><code>A1.show(this,selectedMenuIndex);     
</code></pre>
