How can I protect the app from being uninstalled? You can easily turn off the device administrator in the settings. With other apps there is a protection so that you cannot disable these settings. Unfortunately, it is also not possible to lock the settings with the app lock. The PIN is queried, but you can simply click away from the window with the back button.