如何禁用锁屏的安卓? [英] How do disable lockscreen in android?

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

问题描述

我有我的应用程序注册为设备管理员,用适当的锁屏的权限。我可以访问的方法来锁定设备,但不能禁用锁屏。

有一个API方法可用,将禁用锁?

解决方案
  

有一个API方法可用,将禁用锁?   

不支持这种做法,出于安全原因。

所有这些东西还是去precated

<一个href="http://stackoverflow.com/questions/12021800/disable-delay-android-lock-screen-programmatically">Disable/Delay Android的锁屏编程

<一个href="http://stackoverflow.com/questions/18890143/android-remove-or-disable-programmatically-the-lock-screen-on-samsung-galaxy-s2">Android:删除或禁用编程三星Galaxy S2设备上的锁屏

I have my app registered as device administrator, with the appropriate lock screen permissions. I can access the method to lock the device, but cannot disable lockscreen.

Is there an API method available that will disable lock?

解决方案

Is there an API method available that will disable lock? NO

this is not supported, for security reasons.

all of that stuff was deprecated

Disable/Delay Android Lock Screen Programmatically

Android: remove or disable programmatically the Lock Screen on Samsung Galaxy S2 device

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

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