how to make my application device administrator in android?

為{幸葍}努か 提交于 2019-11-30 07:09:00

i just need to make sure that to uninstall the application , user needs to enter the password which is set in my application.

Fortunately, this is not possible for an SDK application. Even a device admin app cannot prevent the user from uninstalling it.

Htoo Aung Hlaing

I found the sample tutorial here. I hope it will help you.

Warning :::: If you click "Reset Device", your device will be factory reset because of

devicePolicyManager.wipeData(ACTIVATION_REQUEST);
Caution Continues

yes It is possible to make such an app that can take password before getting uninstall. Install this app "Findroid" App that has this functionality from google Play. In this app first you need to unlock your app then only u can uninstall it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!