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

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.

Related posts
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS


Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux


Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows


Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

Leave a Reply