This has been asked before but not fully answered and I don't have the "reputation" to comment there. I want to exit an app for two reasons. 1. on startup if problems with the data files and 2. from a back-button press.
Another questioner got answers of using:
SharedActivity.Finish;
or
MainActivity.Finish;
Both appear to close the window but neither exit the application as in debug mode the program does not end in Delphi and the application is still running on the device itself.
Any more ideas? The hardware is a Nexus 4.