How to make App Locker for Android

I want to make an App Locker app for Android. The application should work on different devices. It seems that Android does not allow the developer to do such work at a low level.

Please tell me how a developer can make such an application.

+4
source share
2 answers

This answer will help you. He used the background service to check which application is in the foreground, and then check if I need to block the application or not.

+1
source

As a workaround, you can develop a new application to replace the home screen, which allows the user to run only some applications, and not all applications installed on the system. Some helpful tips here: fooobar.com/questions/77523 / ...

But this is only a facade, it is not reliable, and the user must launch and use your application instead of the standard Android home screen.

Or you can use another application, Android Parental Control

0
source

Source: https://habr.com/ru/post/1382869/


All Articles