Cold Start

  • Cold start indicates that the system creates processes and initializes applications before they are running.
  • Hot startup refers to resuming an application from the background after it has been suspended in the background.

The cold start time is slightly longer, during which you may see a white or black screen or experience a significant startup delay (background set to transparent). The solution is to optimize the initialization logic or use a splash screen.

The splash screen (splash)

The splash screen is a transitional page that is displayed to the user during each cold startup of an application.

To relieve the anxiety of waiting while the app is opened (to trick the user into covering up a slow launch).

Since a splash screen is usually a background image, it cannot have interaction, nor can it be dynamically modified, nor can it carry marketing needs, so a launch page is needed.

Start page (launch)

The launch page is a pop-up page displayed after each launch, showing different advertising images of marketing campaigns based on the server and directing users to click on them.

Since the download time is uncertain, the startup diagram is usually cached and used for the next startup.

Guide page (guide)

The boot page is a number of pages that are displayed after the user installs or updates the first startup.

Usually used to introduce the core concepts, features, gameplay, usage scenarios, and major changes of the app.

To reduce user disgust, the number of lead pages is usually as small as possible (< 5) and a “skip” button is provided.

A launch page can be a single page that looks like a splash screen.

Start the process




Start the process

Apple’s iOS Human-computer Interaction Manual, however, advises against displaying flash screens or other startup experiences.

Try to avoid showing flash screens or other startup experiences and make them instantly available. As much as possible, Avoid displaying a splash screen or other startup experience. It’s best when users can begin using your app immediately.

However, the splash screen/launch page/lead page is now a standard part of the app, together making up the now common launch process, as well as being used to show the brand personality and advertising entry point.

Android realizes splash screen

Use Android :windowBackground to achieve flash screen

  1. Define the background image drawable/ Splash

    
    
     
     
         
     
    Copy the code
  2. Define the splash page theme ThemeSplash

     
     
         <item name="android:windowBackground">@drawable/splash</item>
      
    Copy the code
  3. Use the theme ThemeSplash on the splash page

    
     
         
         
     
    Copy the code

Note: On phones with virtual buttons, the bottom of the splash screen can be blocked by virtual buttons, which needs to be taken into account in the design.

IOS supports splash screen

There are two ways

  • Static Launch images, provide default. PNG series files based on the screen size to be supported.
  • Launch Screen File, just need a layout file to adapt to various screens.

Refer to the link

Launch screen Storyboard Cold Start Times for iOS development An Analysis of Top Apps Avoiding cold starts on Android Facebook iOS App