I think that you could only do that only if : Either your Android app is declared as the Device Owner Or your Andoid app is signed as a system app as explained on this link : Bonjour visiteur, Merci de vous Inscrire ou de vous connectez pour voir les liens!
Just give it a try. An app that is declared as Device Owner has many more possibilities than a "default" app. The device owner mode is mainly intended to be used by administrators of fleets of devices, so that they have more possibilities in the management of their company's devices.