I want to make the app which is similar to AppLock in android.app lock
has a advance protection feature which stops uninstalling the application.It works with out rooting the phone.
I tried hours together and tried so many solutions of similar kind of question from stackoverflow but could not make through it.
while doing this I came across "device admin rights".
can I do thing which I want to do using admin rights.
if not how AppLock advance protection works i mean how it restricting the user to uninstall the application.
You need to make your app as device owner-it has higher privileges than the device admin app.
For more info refer-http://florent-dupont.blogspot.com/2015/02/10-things-to-know-about-device-owner.html and here https://source.android.com/devices/tech/admin/provision.html
You can set a policy using the admins/owner app which will prevent uninstallation.
You can also have a look at MDM solution provided by the OEMs. Samsung has very powerful APIs to manage every aspect of the device-https://www.samsungknox.com/en/partners/mobile-device-managers
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