Resuming of activity if alive
<p>I have 2 activities<br>
       1. <strong>activity1</strong><br>
       2.  <strong>activity2</strong></p>

<p><strong>activity1</strong> is running. On an event from <strong>activity1</strong>, I wanted to switch to <strong>activtiy2</strong> </p>

<p>The conditions are          </p>

<p>1.create new activity and run if <strong>activity2</strong> is not alive.<br>
 2.Resume <strong>activity2</strong> if it is alive</p>

<p>In both cases it should not  close <strong>activity1</strong></p>

<p>How to achieve this requirement.</p>
