<legend id='gwpXN'><style id='gwpXN'><dir id='gwpXN'><q id='gwpXN'></q></dir></style></legend>

    • <bdo id='gwpXN'></bdo><ul id='gwpXN'></ul>
  1. <i id='gwpXN'><tr id='gwpXN'><dt id='gwpXN'><q id='gwpXN'><span id='gwpXN'><b id='gwpXN'><form id='gwpXN'><ins id='gwpXN'></ins><ul id='gwpXN'></ul><sub id='gwpXN'></sub></form><legend id='gwpXN'></legend><bdo id='gwpXN'><pre id='gwpXN'><center id='gwpXN'></center></pre></bdo></b><th id='gwpXN'></th></span></q></dt></tr></i><div id='gwpXN'><tfoot id='gwpXN'></tfoot><dl id='gwpXN'><fieldset id='gwpXN'></fieldset></dl></div>

      <tfoot id='gwpXN'></tfoot>

      <small id='gwpXN'></small><noframes id='gwpXN'>

      Android - 激活系统键锁(又名锁屏)

      时间:2023-09-26

      <small id='kMm7E'></small><noframes id='kMm7E'>

        <tbody id='kMm7E'></tbody>

          <tfoot id='kMm7E'></tfoot>
        • <i id='kMm7E'><tr id='kMm7E'><dt id='kMm7E'><q id='kMm7E'><span id='kMm7E'><b id='kMm7E'><form id='kMm7E'><ins id='kMm7E'></ins><ul id='kMm7E'></ul><sub id='kMm7E'></sub></form><legend id='kMm7E'></legend><bdo id='kMm7E'><pre id='kMm7E'><center id='kMm7E'></center></pre></bdo></b><th id='kMm7E'></th></span></q></dt></tr></i><div id='kMm7E'><tfoot id='kMm7E'></tfoot><dl id='kMm7E'><fieldset id='kMm7E'></fieldset></dl></div>
            <bdo id='kMm7E'></bdo><ul id='kMm7E'></ul>

              1. <legend id='kMm7E'><style id='kMm7E'><dir id='kMm7E'><q id='kMm7E'></q></dir></style></legend>

                本文介绍了Android - 激活系统键锁(又名锁屏)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我必须激活 android 的系统键锁(当你按下 power off/hang up 按钮时得到的那个).见这里:

                I have to activate android's system key lock (the one you get when you press the power off/hang up button). See here:

                我已经浏览过文档,但我发现的都是 PowerManager和 KeyguardManager.两者似乎都不是解决方案:-(.

                I already browsed the docs but everything I found was PowerManager and KeyguardManager. Both seem not to be the solution :-(.

                那么,每个人都知道如何通过 android 应用程序实现这一点吗?(如果需要特殊权限,那没问题,但更改设备的设置不是解决方案......)

                So, does everyone know how to achieve that from a android application? (If special permissions are required, that is no problem but changing the device's settings is not a solution...)

                编辑:或者有人知道这绝对不可能吗?顺便提一句.带有发送密钥的 craigs 解决方案不再起作用(请参阅评论).

                EDIT: Or does someone know that this is definitely not possible at all? Btw. craigs solution with sending keys does not work anymore (see comments).

                推荐答案

                我一直在寻找完全相同问题的答案.显然,在 2.0 之后,应用级别的设备管理器权限被删除.但是在 Froyo - 2.2 中,设备策略管理器被揭示为我们的开发人员提供了大量的管理级别控制.

                I have been searching for an answer to the exact same question for a while. Apparently, after 2.0 onwards the device manager privileges for the app level were removed. But with Froyo - 2.2 the device policy manager is revealed granting us developers a multitude of administrative level controls.

                http://developer.android.com/guide/topics/admin/device-admin.html

                这篇关于Android - 激活系统键锁(又名锁屏)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:Java 对象移动 下一篇:如何判断按下了哪个 SHIFT 键?

                相关文章

                最新文章

                1. <small id='QIjkB'></small><noframes id='QIjkB'>

                  <tfoot id='QIjkB'></tfoot>

                  <legend id='QIjkB'><style id='QIjkB'><dir id='QIjkB'><q id='QIjkB'></q></dir></style></legend>
                  1. <i id='QIjkB'><tr id='QIjkB'><dt id='QIjkB'><q id='QIjkB'><span id='QIjkB'><b id='QIjkB'><form id='QIjkB'><ins id='QIjkB'></ins><ul id='QIjkB'></ul><sub id='QIjkB'></sub></form><legend id='QIjkB'></legend><bdo id='QIjkB'><pre id='QIjkB'><center id='QIjkB'></center></pre></bdo></b><th id='QIjkB'></th></span></q></dt></tr></i><div id='QIjkB'><tfoot id='QIjkB'></tfoot><dl id='QIjkB'><fieldset id='QIjkB'></fieldset></dl></div>

                    • <bdo id='QIjkB'></bdo><ul id='QIjkB'></ul>