How to Handle android background activity
<p>I have activity stack in my android application.Suppose A and B.When the application starts the Activity A is visible.From this activity i call Activity B using startActivityForResult method.Now from here if i press Home button of device then activity runs in background that is OK.But when i relaunch the application by taping on activity icon a new instance of activity is start and show activity A rather showing the activity B.Please help me in this.Any help would be highly appreciated.</p>
