how to set splash screen in window phone 8 Application development

后端 未结 3 828
南旧
南旧 2020-12-30 08:49

I am new in Window Phone Apps Development .So I just Want to Add Splash Screen When the application launch without using any extra Page navigation for splash screen.

3条回答
  •  时光说笑
    2020-12-30 09:22

    If you want to add just single image, then create a pic in the size of 480*800 and name it as SplashScreenImage.jpg and put that image in the root folder.

    Done! Splash Screen will be displayed on the app.

    If you want to add several images with respect to the screen resolution, then create three pictures in the sizes of 480*800, 768*1280, and 720*1280 and name those pic as

    SplashScreenImage.screen-WVGA.jpg,

    SplashScreenImage.screen-WXGA.jpg,

    SplashScreenImage.screen-720p.jpg and put these pictures in the root folder.

    Done! Splash Screen will be displayed on the app with respect to phone's native screen resolution.

    NOTE:

    To modify the displaying time of SplashScreen, following code may be useful. Paste below code after InitializeComponent();

    Thread.Sleep(2000);
    

    It means, the app will be activated after 2000 milli seconds. You can change as per your wish. Hope, this solves your doubt.!!

提交回复
热议问题