Android SDK Based Splash Screen Method For Delphi XE6 Firemonkey

  

Brian 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.

Comments are closed.