什么是意图调用"选择锁屏"屏幕? [英] What is the Intent to call "Choose screen lock" screen?

查看:117
本文介绍了什么是意图调用"选择锁屏"屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到任何refrence致电意图屏选择屏幕锁定。

I cant find any refrence to call the Intent screen "Choose screen lock".

不能找到什么?

你知道吗?

推荐答案

有没有打算这样做。
让我来解释一下为什么是没有的:

There is no intent to do this.
Let me explain the reason why there is none:

  1. 在用户设置屏幕锁定的第一次,
    选择屏幕锁定的活动出现。

  1. When the user sets the screen lock for the first time,
    the "choose screen lock" activity appears.

用户设置例如一个 PIN锁

用户想要改变代替 PIN锁到模式锁定
他打开选择屏幕锁定设置,但它的出现,
前 他为在他目前的密码

the user wants to change to a Pattern lock instead of a PIN lock
he opens the "choose screen lock" settings, but before it appears,
he has to type in his current PIN

如果有将是一个意图直接启动选择屏幕锁定设置,
你可以的绕过验证
多数民众赞成实际的原因,你无法通过的意图开始吧。

If there would be an intent to start the "choose screen lock" settings directly,
you could bypass the verification!
thats the actual reason why you cannot start it through an intent.

编辑:

如果你看一下在源$ C $的Andr​​oid设置应用
Ç 你会发现一些entrys与标志

if you have a look at the source code of the android settings app
you will notice some entrys with the flag

<activity-alias
    ...
    android:exported="true"> #here

所有的(只有那些),您可以通过一个意图开始

all those (and only those) you can start through an intent

PS:反正绕过可能的方式:
  - 对装置
>获得root访问权限   - >并通过启动一个苏壳

PS: a possible way to bypass anyway:
-> gain root access on the device
-> and start it through a su shell

这篇关于什么是意图调用&QUOT;选择锁屏&QUOT;屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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