title: Close application and launch home screen on Android
body: <p>I have two different activities. The first launches the second one. In the second activity, I call <code>System.exit(0)</code> in order to force the application to close, but the first activity is automatically displayed instead of the application returning to the home screen. How can I avoid this, and get the application to return to the home screen?</p>