As i am new to Android i need clarify some doubts in Activity Life cycle. I have two activities A and B. I launched first Activity A and i called Activity B from Activity A. So, Activity A went into onPause() state and onStart() state will start for Activity B. Now i pressed BACK key in Acitivity B.So, automatically onResume() method of Activity A will start.
Then what is state of Activity B?? onPause() or onStop()? Again if we press BACK key in Activity A what will happen? It goes to Activity B or close the application?