开发者

How to assign uninstallation password, When we are uninstalling the application

开发者 https://www.devze.com 2023-01-20 13:59 出处:网络
Please suggest me where i can put my uninstallation password code in android application. So that at the time of uninstall the application ,The ap开发者_如何学Pythonplication manager should ask me to

Please suggest me where i can put my uninstallation password code in android application. So that at the time of uninstall the application ,The ap开发者_如何学Pythonplication manager should ask me to insert password to uninstall the application.


Not possible. Removing an app is a built-in feature in Android, and quite frankly I would be quite upset if an app would not easily let me remove it.

I understand that you have a security app in mind, but those kind of things would need to happen on the operating system level.


maybe you can implement something like App Lock(http://www.androlib.com/android.application.com-cc-applock-CtBE.aspx),
which checks if com.android.packageinstaller.UninstallerActivity is being started.

0

精彩评论

暂无评论...
验证码 换一张
取 消