Windows Phone 更改停用的应用程序图像 [英] windows phone change deactivated app image

查看:23
本文介绍了Windows Phone 更改停用的应用程序图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于安全目的,我想在应用处于停用状态时(即按下开始"按钮时)更改应用的图像.

For security purposes I wanna change app's image when it is in deactivated state(i.e. when START button is pressed).

当前它显示按下 START 按钮的当前页面图像.我不希望页面上的数据被泄露.

Currently it shows the current page image from which START button is pressed. I don't want the data on the page to be revealed.

推荐答案

简单的答案是.

没有用于处理为多任务菜单(即最近使用的应用)生成的图像的 API.

There is no API for manipulating the image that's generated for the multitasking menu (ie. recently used apps).

虽然可以在应用内操作后退按钮导航,但当用户按下手机上的开始按钮时,无法延迟或取消该事件.

Although it's possible to manipulate Back button navigation within an app, when a user presses the Start button on their phone, there is no way to delay or cancel that event.

并且当发生 Navigating 事件时,似乎无法及时更新 UI 或屏幕(更新可能会在应用恢复后发生).

And when a Navigating event occurs, it doesn't appear to be possible to update the UI or screen in time (the update may happen after the app resumes).

这篇关于Windows Phone 更改停用的应用程序图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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