在WP8中重新激活后退按钮上的应用程序 [英] Reactivate application on back button in WP8

查看:74
本文介绍了在WP8中重新激活后退按钮上的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows手机商店提交了一个足球新闻应用程序。我把这个错误分类为"

Hi, I submitted a football news application on windows phone store. I got this error categorized as "




性能和资源管理"

它基本上说,当按下回家的应用程序时/ windows或bing / search按钮然后尝试使用返回键返回应用程序
,它不会加载/重新激活应用程序。我试图在模拟器上检查这个但它在那里工作正常。 

任何人都可以解释一下这里可能有什么问题吗?它看起来像是与应用的会话或状态相关。我不知道,因为
我甚至无法重新创建它。  虽然它在错误文件中确实说明了这个错误是3/5次。

我已经在文本中附加了Microsoft的错误文件

感谢任何帮助,我被卡住了在这里好几天。

谢谢,

K

5.2 Performance and Resource Management
5.2.3

Requirements
A Windows Phone app is deactivated when the user presses the Start button or if the device timeout causes the lock screen to engage. A Windows Phone app is also deactivated with it invokes a Launcher or Chooser API.
A Windows Phone OS 7.0 app is tombstoned (terminated) when it is deactivated. A Windows Phone OS 7.1 or higher app becomes Dormant when it is deactivated but can be terminated by the system when resource use policy causes it to tombstone.
When activated after termination, the app must meet the requirements in Section 5.2.1 - Launch time. For more information and best practices, see App activation and deactivation for Windows Phone.

Expected Result
Test Process Required
1. Launch your application.
2. Deactivate the application using the Start button.
3. Launch your application again.
4. Verify that the application launches normally within 5 seconds, and is responsive within 20 seconds of launching. 5. If your application includes pause functionality, pause the application.
6. Launch your application again.
7. Verify that the application launches normally within 5 seconds, and is responsive within 20 seconds of launching.

Comments:
When the user deactivates the application, the application does not reactivate when the user presses the device Back button immediately or after waiting for ten seconds.
Steps to Reproduce:
1. Launch the application.
2. Deactivate the application by pressing the Start button, Bing button, or Power button.
3. Press the device Back button immediately or after waiting for ten seconds to reactivate the application. 4. Observe the application does not reactivate. Note: This behavior observed 3 out of 5 times.
Result: Fail

推荐答案

嗨Kavi,

错误清楚地表明您没有在应用中正确管理Tombstone。如果用户离开了您的应用,您必须管理应用的先前会话/数据。更快捷,最简单的方法是在
应用中使用Tombstone Helper: 

The error clearly says that You haven't managed Tombstone properly in your App. If user navigated away from your app , you have to managed previous session / data of your app. The quicker and easiest approach is that you should use Tombstone Helper in your app: 

http://tombstonehelper.codeplex.com/

如果您遇到任何问题,请点击并回复。

Give it a Hit and reply if you got any issue.

此致,


这篇关于在WP8中重新激活后退按钮上的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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