如何做机器人"程序锁"应用程序的工作? [英] How do android "app lock" applications work?

查看:157
本文介绍了如何做机器人"程序锁"应用程序的工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用Google,并期待在计算器一样好,但我似乎无法找到任何令人满意的答案,如何在应用程序锁应用程序(例如:ZDBox,应用程序锁等)工作。 是否有在后台运行,不断轮询,以查看是否应用程序启动并试图杀死它的服务?或者是有没有办法拦截推出意图为新的活动?

I've tried googling, and looking on stackoverflow as well, but I can't seem to find any satisfying answer as to how the "App lock" applications(eg: ZDBox, App Lock, etc..) work. Is there a service that runs in the background continuously polling to see if the app is launched and tries to kill it? Or is there a way to intercept launch intents for new activities?

推荐答案

有在后台运行,以读取活动堆栈的服务。如果发现新的活动,将启动passwordActivity

there is a service running in the background to read the activity stack. if find new activity, will start the passwordActivity

这篇关于如何做机器人"程序锁"应用程序的工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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