调出锁屏 [英] Calling up lock screen
问题描述
大家好,我在下面的屏幕截图中,在我的6.5设备上,主屏幕上有一个锁定按钮,它会弹出一个幻灯片并禁用每个按键。我想在我自己的应用程序中表达这一点。我查看了
SHDeviceLockAndPrompt的pinvoke代码。但这与密码有所不同,需要在设置中启用。这是我的设备的自定义应用程序还是在那里我可以在CF中调用它。任何想法?
Hi all, I put in a screen shot below, on my 6.5 device, home screen has a lock button, which brings up a slide and disables every key. I want to impliment this in my own app. I looked into the pinvoke code for SHDeviceLockAndPrompt. But this is something different with password which needs to be enabled in settings. Is this an custom app for my device or is there away i can call this in CF. Any Ideas?
推荐答案
你好,
Hello,
我想你可以在这个帖子中尝试答案
I think you can try the answer in this thread
您需要启用"设备锁定"功能。在SHDeviceLockAndPrompt函数生效之前。设置位于:
You need to enable the"Device Lock" before the SHDeviceLockAndPrompt function takes effect. The settings is located at:
[开始 - >设置 - >安全 - >设备锁定 - >如果设备未用于智能手机的商品,请提示,
或[设置 - >个人 - >锁定 - >提示设备是否未用于...] 掌上电脑。
[Start -> Settings -> Security -> Device Lock -> Prompt if device unused for ...] for Smartphone,
or [Settings -> Personal -> Lock -> Prompt if device unused for ...] for Pocket PC.
祝你好运,
Jesse
这篇关于调出锁屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!