I am working on a locker application and for this I want to disable the uninstall option from app manager so any other user can not delete my app. But for uninstalling I want to give the option with in the application, Please suggest me how can I achieve this in Android?
Asked
Active
Viewed 347 times
0
-
possible duplicate of [How to prevent an application from being uninstalled?](http://stackoverflow.com/questions/7540002/how-to-prevent-an-application-from-being-uninstalled) – SMR Feb 13 '15 at 05:50
1 Answers
2
You will need to enable deviceAdmin to disable Force Stop and Uninstall features. This is handled by the Device Admin API which handles enterprise/app policy management.

Vatsal Shah
- 547
- 3
- 9