如何设置窗口电话8应用程序开发的启动画面 [英] how to set splash screen in window phone 8 Application development

查看:96
本文介绍了如何设置窗口电话8应用程序开发的启动画面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在窗口Phone应用开发。所以新我只想补充闪屏当应用程序启动,而不使用闪屏任何额外的页面导航。

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.

推荐答案

如果您要添加只是单一的形象,然后创建 480 * 800 ,并将其命名为<$ C $大小的图片C> SplashScreenImage.jpg ,并把这种形象在根文件夹中。

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.

如果你想相对于屏幕的分辨率添加多张图像,然后创建<$ C $的大小三幅图片C> 480 * 800 , 768 * 1280 720 * 1280 并命名的PIC为

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 ,并把这些图片在根文件夹中。

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.

注意:

要修改闪屏的显示时间,下面的代码可能是有用的。粘贴下面的代码之后的InitializeComponent();

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

Thread.Sleep(2000);



这意味着,应用程序将2000毫秒后启动。你可以根据你的愿望改变。希望,这能解决您的疑问。!

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

这篇关于如何设置窗口电话8应用程序开发的启动画面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆