Android SDK Based Splash Screen For Delphi XE5 Firemonkey

Android SDK Splash Screen FiremonkeyBrian Long created a native Android SDK splash screen demo for CodeRage 8 to use for your Firemonkey apps. On Android it can take anywhere from 4 to 10 seconds for your app to initially launch and with this splash screen your users will see the splash screen instantly while the rest of the app loads. Otherwise they will just see a black screen which isn’t very user friendly. The splash screen actually sets up a Layout and image in Java before launching the Delphi XE5 app code. It also has some additional functionality where it checks the functionality of the user’s Android CPU to make sure it has the required NEON instruction set. If it does not it notifies the user and closes gracefully. It also checks if it is running a version of Android that is supported by XE5 and running on an ARM7 CPU. This functionality should be built into Delphi XE5 but currently is not. I’m pretty sure Adobe AIR does something similar. In any event it is a pretty complex process to get it set up but it looks like you only need to do it once and then you can reuse it with all of your Android apps. This method is not needed on IOS because IOS allows you to setup your own splash screen which IOS displays for you. I also extracted just the splash screen directory and made it available here in case the original becomes unavailable:
Firemonkey Android SDK Splash Screen Archive

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

View the full blog post from Brian Long and download the archive with all of his CodeRage 8 session files.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Show Buttons
Hide Buttons
Read previous post:
Delphi XE5 Firemonkey Splash Screen Lite For Android

Marco Cantu has a code snippet over on his blog which explains how to setup a Firemonkey splash screen for...