如何改变锁屏式编程? [英] How to change the lock screen type programmatically?

查看:148
本文介绍了如何改变锁屏式编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个Android应用程序,我需要访问不同的锁屏(EG-销锁,锁模式等),也可以使用在某些情况下我的应用程序来改变它。

I am working on an Android Application where I need to access the different lock screens(e.g.- pin lock,pattern lock etc.) and also able to change it using my application upon some event.

我寻觅了很多了,但到目前为止,我坚持。请如果有人可以帮助我解决这个问题。 谢谢

I have searched a lot over it but so far I am stuck. Please if anyone can help me out with this problem. Thanks

推荐答案

看是否有此页帮助:的 Android设置

See if this page helps:Android Settings

您应该可以,如果你看的logcat输出敏锐地访问内部元素。 不过我不知道你是否可以设置一个图案或PIN锁作为用户需要参与其中。

You should be able to access the inner elements if you watch the logcat output keenly. Still I am not sure whether you will be able to set a patter or PIN lock as the user needs to be involved in it.

不过,我想你应该能够改变从滑锁或无锁的类型,仅仅是元素需要进行选择。

But I guess you should be able to change the type from "slide lock" or "No lock" as just the elements needs to be selected.

这篇关于如何改变锁屏式编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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