如何禁用 Windows Phone 7 启动画面?

发布于 2024-10-21 07:57:14 字数 176 浏览 6 评论 0原文

有没有办法禁用 WP7 启动画面并只显示空白屏幕?

我的启动画面只持续了不到半秒,给用户留下了相当刺耳的感觉。我宁愿他们根本看不到任何闪屏。

我会简单地使用纯黑色图像作为启动屏幕,但这会给使用浅色主题的人带来丑陋的体验(因为我的应用程序的背景在浅色主题上为白色,在深色主题上为黑色)

谢谢!

Is there any way to disable the WP7 splash screen and just show a blank screen?

My splash screen only stays on for less than half a second, leaving the user with a rather jarring sensation. I'd rather they not see any splash screen at all.

I would have simply used a plain black image as my splash screen, but then that would result in an ugly experience for people using a light theme (since my app's background is white on light themes and black on dark themes)

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

德意的啸 2024-10-28 07:57:14

只需删除文件 SplashScreenImage.jpg 即可。

Simply remove the file SplashScreenImage.jpg.

屌丝范 2024-10-28 07:57:14

右键单击图像文件,选择“从项目中排除”。重建。

Right click on the image file, select "Exclude from project". Rebuild.

风轻花落早 2024-10-28 07:57:14

就像 madd0 所说的那样,尝试删除 SplashScreenImage.jpg :)
如果您希望 SplashScreen 持续更长时间,您可以添加如下所示的起始页:
客户启动屏幕
修改时间跨度以适合您想要的时间:

_splashTimer.Interval = new TimeSpan(0, 0, 2);

Just try to delete the SplashScreenImage.jpgas madd0 said :)
If you want your SplashScreen to last longer you can add a start page like this:
Customer Splash Screen
Modify the Timespan to suit your the time you want:

_splashTimer.Interval = new TimeSpan(0, 0, 2);

沉默的熊 2024-10-28 07:57:14

正如大家所说,你可以删除它。但在此之前,只需重命名它 - 在解决方案资源管理器中右键单击 SplashScreenImage.jpg,单击重命名,然后将其命名为:SplashScreenImage2.jpg - 让 VS 有机会根据您的计算机赶上您的意图。然后删除该文件。

您可以而且应该按照Windows Phone 7 应用程序认证指南中的指导删除启动屏幕在第 5.2.1.a 节中:

微软建议
应用程序提供启动画面
仅当图像花费时间超过 1 时
第二个加载第一个屏幕。

然而,我发现的一件事是,虽然许多应用程序在第一次启动时可以非常快地启动,但如果它们有已被逻辑删除的数据,那么之后加载速度就会变慢。仅供参考

Like everyone says, you could delete it. But before that, just rename it - right-click on SplashScreenImage.jpg in the Solution Explorer, click rename and just name it something like: SplashScreenImage2.jpg - gives VS a chance to catch up with your intent depending on your machine. Then delete that file.

You can and should delete the splash screen as per the guidance in the Windows Phone 7 Application Certification Guide in section 5.2.1.a:

Microsoft recommends that the
application provides a splash screen
image only when it takes longer than 1
second to load the first screen.

However, one thing that I've discovered is that while many apps can fire up really fast the first time they are launched, they made load slower after that if they have data that has been tombstoned. Just FYI

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文