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.
This is perfectly normal for Android applications. The process will be terminated, eventually, by the operating system, as system RAM is needed for other processes .Please leave this alone and solve whatever problems you are encountering in some other fashion.