Show/Hide Toolbars

Android Applications

One of the issues with understanding problems in services is that they cause the app to fail before TForm.OnCreate and the Application.Run calls an interface IFMXApplicationService.Run that the debugger cannot step into.

 

IFMXApplicationService on the Android platform is provided by TPlatformAndroid in FMX.Platform.Android so the initialization section of FMX.Platform.Android together with TPlatformAndroid.Run and TPlatformAndroid.InternalProcessMessages   are places to place breakpoints.  

 

 

class procedure TAndroidApplicationGlue.OnStart;

TPlatformAndroid.HandleApplicationCommandEvent

                 Start:Application.RealCreateForms;