“WP7”中的问题突然立碑
我在 WP7 逻辑删除中遇到一些问题。我的问题是,当我尝试突然建立墓碑并返回时,应用程序挂起。即,加载页面后,我按下设备菜单按钮,并在几秒钟内按下后退按钮(在实际页面消失之前按下后退按钮)在那段时间页面加载,但应用程序挂起/其后退键按下不起作用。如果我们尝试使用慢速墓碑,它会完美地工作。非常有趣的是,在墓碑化 APP 的加载和卸载事件时,它运行得很好。请任何人帮我解决这个问题。
I am facing some issues in WP7 tombstoning. My issue is application hangs when i try for a sudden tombstone and come back. ie, After loading the page i press device menu button and with in seconds i pressed back button( Pressed Back button before the actual page disappeared) In that time the page loads but the application hangs / its back key press is not working. and if we try for a slow thombstone it is working perfectly. And the pretty interesting thing is that, while tombstoning the loaded and unloaded events of APP working perfectly. Please any one help me to solve this issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您的应用程序已被停用,但并未被逻辑删除。这会导致应用程序或页面构造器都不会被调用,从而导致您的应用程序以意外的方式运行。我强烈建议您阅读 Windows Phone Silverlight 应用程序生命周期文档。上述文章的相关摘录:
It sounds like your App has been deactivated, but not tombstoned. This results in neither the App or Page contrusctor being called, causing your app to act in unexpected ways. I highly recommend reading the Windows Phone Silverlight Application Life Cycle document. The relevant extract for said article: