Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


Android SDK Based Splash Screen For Delphi XE5 Firemonkey

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Android SDK Splash Screen Firemonkey | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSBrian 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.

Related posts

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging


Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply