Android Appmethod Code Snippet Delphi Firemonkey IOS

Delphi XE5 Firemonkey Splash Screen Lite For Android

Delphi Firemonkey Splash Screen

Marco Cantu has a code snippet over on his blog which explains how to setup a Firemonkey splash screen for Android (it also works well for IOS). I’m calling this method ‘splash screen lite’ because there is also another method that puts an Android SDK based splash screen in before the Delphi application itself runs. In any event this splash screen lite method is pretty simple to do. You just put an image or panel on your main form and then set your other forms to not auto create. Next you setup a timer that will launch your code that creates your other forms). Either turn the timer on at design time or enable it in the OnShow event. Keep the OnCreate event clean and do any processing you need to do when the timer fires. Turn the timer off when it fires and then Show your next form. Remember to take care of the Back button on Android. This splash screen lite method also works for IOS. IOS has a built in splash screen image but for Delphi XE5 and Firemonkey it is good to use this Timer splash screen lite method in addition to the normal IOS splash screen. Execute any functionality that may take some time when the Timer fires instead of in the OnShow and OnCreate events. This will help keep your app from feeling like it is frozen in IOS.

Update: Blog post from Embarcadero with another interpretation of this idea.

Update: You can also try this new method of using the Android Manifest to create a splash screen.

Check out the full blog post on how to do the splash screen lite.

CodeRage 9

Delphi XE5 Firemonkey Splash Screen Lite For Android by Delphi XE5 XE6 XE7 Firemonkey, Delphi Android, Delphi IOS, unless otherwise expressly stated, is licensed under a Creative Commons Attribution 4.0 International License.

Don't have Delphi XE7 yet? Download the free trial or subscribe to AppMethod.

One comments on “Delphi XE5 Firemonkey Splash Screen Lite For Android
  1. Pingback: Add A Splash Screen With The Android Manifest For Delphi XE5 Firemonkey Apps | Delphi XE5 Firemonkey, Delphi Android, Delphi IOS

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Read more:
Delphi XE6 Firemonkey SysCheck Neon Android Compatibility
Test Android Devices For Delphi XE6 Firemonkey Compatibility With SysCheck App

Jim McKeeth has a blog post up where he highlights an Android app you can use to verify whether Delphi...

Delphi XE6 Firemonkey Custom Android SDK Events
Implement Custom Android SDK Callback Events With Delphi XE5 Firemonkey On Android

Developer Cristian Peta has a post up on the Embarcadero forum with some sample code showing how he implemented a...