I have an application where on the home page I have buttons for navigation through the application.
On that page I have a button \"EXIT\" which when clicked should t
System.exit(0);
Is probably what you are looking for. It will close the entire application and take you to the home Screen.