开发者

android know if an app is installed

开发者 https://www.devze.com 2023-01-24 00:59 出处:网络
Hello is it possible to know if the user tries to uninstall an application and ask for password in order to continue? I have a security application and I would like to ask the user to authenticate bef

Hello is it possible to know if the user tries to uninstall an application and ask for password in order to continue? I have a security application and I would like to ask the user to authenticate before uninstalling the application is it possible and ho开发者_开发百科w?


Hello is it possible to know if the user tries to uninstall an application and ask for password in order to continue?

No, sorry. Applications do not get control when they get uninstalled.


Yes. It is possible. I do not know HOW but some security applications like AndroidLost, SeekDroid and so on do that. (I'm not sure now which one exactly do that, but I'm sure it does). Try to decompile some of these applications (if I was you I'd do that).

I guess they ask for Administration permission in your mobile and intercept the unnistall. Obviously if you remove the app from the Administration apps list, it does not work anymore.

0

精彩评论

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