Via Lattanzio,23 Milano
+39 02 00704272
info@synaptica.info

Send android application in background

Digital solution partner

Send android application in background

To send in background your Delphi application on Android you can simply call the moveTasktoBackGround method of the mainActivity class defined in the FMX.Platform.Android library.

To do this task during the application startup phase on the main form we suggest to use a timer object so that the main form can completely render before going in background.
In that way your app will be correctly shown in the Android recent/running app list.