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.
See: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769511(v=vs.105).aspx
From this article:
If you’re using a single image, you should add an image file that is 768 × 1,280 and named SplashScreenImage.jpg to your app project. The phone automatically scales the image to the correct size. If you want to provide pixel-perfect splash screens for all resolutions, you can add the following images to the root folder of your app project.
Resolution Dimensions in pixels File name
WVGA 480 × 800 SplashScreenImage.screen-WVGA.jpg
WXGA 768 × 1,280 SplashScreenImage.screen-WXGA.jpg
720p 720 x× 1,280 SplashScreenImage.screen-720p.jpg
You must set the Build Action property of the image(s) to Content.
Each new Windows Phone OS 7.1 project includes a SplashScreenImage.jpg file. To customize the splash screen, you can substitute your own image for the default image. You can replace the default image with any image you choose, but it must be 480 × 800 pixels in size, and it must be named SplashScreenImage.jpg. You must set the Build Action property of the image to Content.
Windows Phone 8 apps load quickly, so a Windows Phone 8 app usually doesn’t need a splash screen. New Windows Phone 8 projects don’t include a default splash screen image file. However, if you want to use a splash screen in your Windows Phone 8 app, add an existing JPG image file to the root folder of your Windows Phone 8 project, and name the file SplashScreenImage.jpg.
When you want to add a splash screen in your app, you have two options:
(If you’re using a single image, you should add an image file that is 768 × 1,280 and named SplashScreenImage.jpg to your app project. The phone automatically scales the image to the correct size)
If you want to provide pixel-perfect splash screens for all resolutions, you can add the following images to the root folder of your app project:
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.!!