What is the equivalent operation within an activity to navigating away from the screen. Like when you press the back button, the activity goes out of view. How can this be called from inside an activity so that it closes itself. Thanks.
What about the
Activity.finish() method (quoting) :
Call this when your activity is done and should be closed.