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".

  1. can thing want using admin rights.

  2. 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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -