title: Prevent uninstalling android app with password like Applock does?
body: <p>I am developing an parent control security application in android and i want to restrict(asking to enter password) child uninstalling an app?</p>
  
  <p>I tried to implement this with Device Administrator but it has only disable option but i want to ask password from user and it provided password is right then will allow them to uninstall.</p>
  
  <p>If you look at <a href="https://play.google.com/store/apps/details?id=com.domobile.applock&amp;hl=en" rel="nofollow noreferrer">Applock</a> it has similor functionality.</p>
  
  <p>Could anyone give me some directions and code sample how to achive this..?</p>