如何让您的 Windows Phone 7.5 应用程序保持领先
我们正在创建一个Windows Phone 7.5应用程序,该应用程序是为公司现场员工的特定目的而开发的,手机将包含数据SIM。不允许进行任何通信,例如打电话、发送短信或检查和回复电子邮件等。此应用程序将接收来自我们总部应用程序的推送通知。
有什么方法可以让这个应用程序始终保持在顶部,无论用户按下哪个按钮,我们希望这个应用程序始终保持在顶部,这样无论它收到什么通知,它总是会将其显示给用户以进行进一步的操作。
谢谢
we are creating a windows Phone 7.5 application, this application is developed for specific purpose for company field employes, phones will contain the data sim. No communication allowed like making a phone call, sending sms or chekcing and repling email etc. This application will receive the Push Notifications from our application in the head office.
Is there any way that we can keep this application always on top, regardless what button is pressed by the user we want this application to always stay on top so what ever the notification it receive it will always disply it to the user for futher action.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
由于多种原因,这一要求实际上并不可行。首先,您所描述的内容实际上打破了经过认证的应用程序需要遵循的大部分概念。可以在此处找到认证详细信息的子集:http://msdn.microsoft .com/en-us/library/hh184840(v=vs.92).aspx
其次,即使您计划覆盖后退按钮(可能),也确实没有办法覆盖Windows,搜索或操作系统级别的相机按钮。
祝你好运!
This requirement is not really feasible for a couple of reasons. First, what you are describing actually breaks most of the concepts that a certified app is required to follow. A subset of certification details can be found here: http://msdn.microsoft.com/en-us/library/hh184840(v=vs.92).aspx
Secondly, even if you planned to override the back button (possible) there really is no way to override the Windows, search or camera button at the OS level.
Best of luck!
简短的回答:你不能。应用程序切换是操作系统的一部分,您无法控制它。
最佳解决方法是将应用程序固定为启动状态,并允许其通过更新活动磁贴进行后台处理。
如果这是绝对要求,您必须对手机进行越狱并在其上安装您自己的操作系统。
Short answer: you can't. Application switching is part of the OS, and you don't have control over it.
Best workaround is to pin the app to start and allow it to do background processing with updates to the live tile.
If it's an absolute requirement, you'll have to jailbreak the phone and install your own OS on it.