开发者

WP7: Edit Screenshot While App is Backgrounding (Mango)

开发者 https://www.devze.com 2023-03-18 07:59 出处:网络
I have an ap开发者_JAVA技巧p that I have been developing that can display sensitive user data. When the user backgrounds the app, the OS appears to take a screenshot of the app as it was running, an

I have an ap开发者_JAVA技巧p that I have been developing that can display sensitive user data.

When the user backgrounds the app, the OS appears to take a screenshot of the app as it was running, and displays it so when the user returns, their state is restored.

I am trying to prevent the user's information from being seen in this screenshot.

My initial idea was to display a Popup of my splash screen image, but it does not seem to render it in ApplicationDeactivated. Is there any other way you might accomplish this?


I am not sure you are analyzing this correctly. I don't see how the OS could take a screenshot of an app and use that to restore state. Also, if it was true that the OS did that, Tomb Stoning wouldn't be such a big issue in the requirements for an app in the submission process. A dev needs to handle grabbing and saving state on exit and reloading it on start-up again.

If you didn't code this tomb stoning, are you using a frameowrk that has built in support for this? You could disable the tombstoning so certain pieces of information are not stored, and in fact if this data is that sensitive you should make sure it isn't saved. But, if you save it make sure you encrypt it so nothing else could examine the saved state. Although, that shouldn't be possible on Win Phone as the OS is supposed to enforce the boundries between apps.


Received a response from Microsoft which indicates that this is not possible in the Mango SDK; it may be added into future releases of the platform.

0

精彩评论

暂无评论...
验证码 换一张
取 消