android - how to implement feature like applock advance protection in my app -
i want make app similar applock in android.app lock
has advance protection feature stops uninstalling application.it works out rooting phone. tried hours , tried many solutions of similar kind of question stackoverflow not make through it.
while doing came across "device admin rights".
can thing want using admin rights.
if not how applock advance protection works mean how restricting user uninstall application.
you need make app device owner-it has higher privileges device admin app.
for more info refer-http://florent-dupont.blogspot.com/2015/02/10-things-to-know-about-device-owner.html , here https://source.android.com/devices/tech/admin/provision.html
you can set policy using admins/owner app prevent uninstallation.
you can have @ mdm solution provided oems. samsung has powerful apis manage every aspect of device-https://www.samsungknox.com/en/partners/mobile-device-managers
Comments
Post a Comment