WP7:是否可以在创建/存储日记缩略图之前拦截backstack [英] WP7: Is it possible to intercept the backstack before the journal thumbnail is created/stored

查看:17
本文介绍了WP7:是否可以在创建/存储日记缩略图之前拦截backstack的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你们都知道 Windows Phone 后台堆栈吧.如果您浏览某些应用程序,请在启动每个应用程序后点击主页键.现在点击并按住 Backkey 以查看 Backstack.您现在可以看到应用的一些小图片,并且可以选择正确的图片.

You all know the Windows Phone backstack right. If you go through some apps, tap the Home key after starting each app. Now tap and hold the Backkey to see the Backstack. You can now see some small images of your apps, and can pick which one to go to right.

问题:是否可以在创建 backstack 图像之前进行拦截?我曾尝试在各种事件(包括 OnNavigatingFrom)中模糊我的页面,但无济于事.

Question: Is it possible to intercept before the backstack image is created? I have tried to blur my page in various events (include OnNavigatingFrom) to no avail.

我的猜测是触发了一些其他事件(可能是我们无法访问的事件)并创建了位图,因为当您使用 Backstack 导航时,您只能看到从保存的图像到真实图像的轻微过渡页面 IMO.

My guess is some other event (probably something we don't have access to) is triggered and a bitmap is created, because when you use the Backstack to navigate you can just see a slight transition from the saved image to a real page IMO.

有谁知道是否有可能在 backstack 上拦截或操纵这些图像?

Does anyone know if its possible to intercept or manipulate these images on the backstack?

来自 WP 模拟器的 Backstack 缩略图的示例截图

Example screenshot from WP emulator of the Backstack thumbnails

推荐答案

按照我的评论,我刚刚尝试了这个:

Following my comment, I've just tried this:

  1. 在代码的任意位置设置断点
  2. 启动带有调试器的应用程序,然后让它到达断点
  3. 当调试器停止执行时,长按返回按钮
  4. 即使托管代码执行停止,也会显示任务切换 UI

从那里,我认为我们可以安全地得出结论,任务切换和缩略图完全由本机代码处理.因此,您无能为力.

From there, I think we can safely conclude that the task switching and the thumbnail are handled entirely by native code. Therefore, there's nothing you can do.

这篇关于WP7:是否可以在创建/存储日记缩略图之前拦截backstack的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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