I am experiencing problems terminating an android application developed with Delphi XE7 when the app is run on Android 6.
I have tried using all the app termination functions i could find, including :
- Application.Terminate;
- MainActivity.Finish;
- SharedActivity.Finish;
- Close;
- Halt;
- FreeAndNil(Application);
- Application.MainForm.DisposeOf;
None of these work on Android 6.
All of them seem to work perfectly if i install the app on Android 5 or 4.
Is there any way to effectively terminate a Delphi XE7 android app which is run on Android 6.
Thanks in advance.