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

AndroidCode SnippetDelphiFiremonkey

Android SDK Based Splash Screen Method For Delphi XE6 Firemonkey

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

Delphi Android Splash Screen | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSBrian Long has a comprehensive article about adding a splash screen to your Delphi XE6 Firemonkey apps on Android. First the article covers the different options that are out there (a splash screen Delphi form, an Android manifest based splash screen, and finally a Android SDK based splash screen). Brian Long did the original Android SDK based splash screen method for Delphi XE5 as a CodeRage 8 sessions. This new article is an updated version of that method but also takes Delphi XE6 changes into account. The idea behind this method is to create a new Java class and merge it with the Delphi XE6 classes.dex file. The Android manifest is modified to launch the new Java class instead of the Delphi XE6 application Java class. The new Java class shows the splash screen and then launches the Delphi XE6 application Java class. The magic behind this method is the Android Intent system which allows you to designate the Main and Launcher intents in the Android manifest. Here is a sample of what gets added to the Android manifest:
<activity android:name="com.blong.test.SplashActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

Head over and read the full article from Brian Long for yourself about Delphi XE6 splash screens.

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

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

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

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

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