在Windows Phone8中加载应用程序期间的空白屏幕(黑屏) [英] blank Screen(Black screen) during the loading of Application in windows phone8

查看:78
本文介绍了在Windows Phone8中加载应用程序期间的空白屏幕(黑屏)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在实施适用于Windows 8的启动画面时,会在启动画面和启动画面之间观察到黑屏。应用程序主页。

When implementing the Splash Screen for Windows 8, a black screen is observed between the Splash screen & the App Main Page.

我的应用程序显示新闻和股票价格数据。在主页加载事件请求新闻,股票价格,货币数据被发送,这使得UI线程重。

My app shows news and stock prices data. In main page load event request for news, stock price, currency data is sent ,which makes UI thread heavy.

所以可能是因为重载功能调用 在主加载期间观察到黑屏WP8中的页面。但令人惊讶的是,这个代码在没有任何黑屏的WP7上工作正常。

so maybe because of heavy function call black screen observed during the loading of main page in WP8. But surprisingly this code works fine on WP7 without any black screen.

在调试时没有出现问题。因此很难跟踪根本原因。

further the problem didn't appear while debugging.so it gets difficult to track root cause.

请提示方式..

提前谢谢!

推荐答案

嗯。 ..它在一个操作系统中工作而不是另一个操作系统的事实将所有理论都抛到了空中。您在加载事件中的活动可能是相关的...尝试分析http://www.slideshare.net/michelecapra/test-and-profile-your-windows-phone-8-app-16233065
。我会在相同的条件下禁用加载事件和repro ...再次,因为你说很难说在操作系统版本,调试模式等之间行为是dff。

hmmmm... the fact that it works in one OS and not the other kinda throw all theories up in the air. your activiities in the load event could be related... try profiling http://www.slideshare.net/michelecapra/test-and-profile-your-windows-phone-8-app-16233065 . I would disable the load event and repro under same conditions... again as you said it is hard to tell given that the behavior is dff between OS version, debug mode etc.

也许需要某些活动的异步编程优势。 

perhaps take advantage of asynchronous programming for some of the activities. 





这篇关于在Windows Phone8中加载应用程序期间的空白屏幕(黑屏)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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