How to keep layout and its data
<p>I need your help, I have 2 activities A and B where A is the main activity. 
Now B starts the activities from A using <code>startActivityForResult()</code> and from B when I finish it will go back to activity A. </p>

<p>This works fine but the actual purpose was like the Gmail application when you go back from B to A and then start activity B again from A, then A need to start activity with its last screen as i left it. </p>

<p>For example: from inbox->label->draft in gmail how to achieve this to keep data/layout as it is.</p>
