I have an Activity A
. On a button click, I have started the Activity B
like this
{
startActivity(new Intent(A.this, B.class));
}
When I am in the Activity B
, I have pressed the home button. If I re-launch the app it is navigating to A, instead of B. Could some one guide me how is it possible to navigate to B?