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?
Once you've locked the app, the lock icon will change (Figure C) and the app will remain in the overview. At this point, the apps you've locked cannot be removed from the Overview until you unlock them. As you might expect, to unlock an app, all you have to do is tap the lock button.
Go to Settings and select “Biometrics and security.” Tap on “Secure Folder,” then “Lock type.” Choose between Pattern, PIN, Password or a biometric option like fingerprint or iris, and create that password. Go to your app drawer and tap “Secure Folder.” Tap “Add apps.”
Android does let third-party apps control access to other apps, so you can install one of these app lockers and block access to any apps you don't want other people snooping around inside. A passcode is usually required to gain access, though some locking tools can work with fingerprint sensors or face recognition.
there is a service running in the background to read the activity stack. if find new activity, will start the passwordActivity
they are watching logcat output. whenever you start an activity, you can find specific logcat. like this,
I/ActivityManager( 585): Starting activity: Intent { action=android.intent.action...}
if this logcat printed by locked app, locker service starts password screen.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With