安卓:如何申请保护的应用程序工作? [英] Android: how does application Protector app work?

查看:139
本文介绍了安卓:如何申请保护的应用程序工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以阐明如何应用,如应用程序保护,ES安全管理器(应用程序保护的一部分)一些轻体力

Can anyone shed some light on how applications like App Protector , ES Security Manager (app protector part) work

基本上你要做的就是将所有要锁定在那里的应用程序。那么当你尝试推出锁定APP它弹出在锁屏的活动。这样你输入的密码有并访问锁定的应用程序。

Basically what you do is set all the apps you want to lock in there. then whenever you try to launch "locked" app it pops in its Lockscreen activity. so you enter the password there and get access to the locked app.

它使用以下权限

> android.permission.RECEIVE_BOOT_COMPLETED
> android.permission.GET_TASKS
> android.permission.INTERNET
> android.permission.READ_LOGS
> android.permission.VIBRATE
> android.permission.READ_PHONE_STATE
> android.permission.SYSTEM_ALERT_WINDOW

那么,如何做这样一个系统的工作。它继续阅读日志READ_LOGS,看看应用程序启动时发生??

So how does such a system work. does it keep reading the logs "READ_LOGS" to see if the application launch is occurring ??

推荐答案

我逆向工程的应用程序,并发现它究竟在做什么。

I reverse engineered the app and found what exactly it was doing.

它只是不断地通过服务使用过滤器像

It just continuously read the logs via logcat through a service using filters like

ActivityManager:我*:•

ActivityManager:I *:S

让刚刚推出的活动。也是它的一部分信息来自

to get just the activities launched. also some part of its information came from

ActivityManager.RunningTaskInfo

ActivityManager.RunningTaskInfo

那么,如果锁​​定活动启动它显示了锁屏。

then if the "locked" activity is launched it shows the lockscreen.

这篇关于安卓:如何申请保护的应用程序工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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