title: How can I use the Android back button to move back within my app instead of closing my app?
body: <p>My app has three activities, A, B and C. I am moving from A to B through an OK button, and I want to move back from B to A by using the default back button of Android devices. When I press the button, though, the entire app gets closed. How can I get around this problem?</p>