0

I'm relatively new to Android. I'm making an app that need to ask a password before uninstall without rooting the phone, but after a lot of research i understood that this is not possible (correct me if i'm wrong). Now i'm trying to understand if it is possible to show a tab or anything else which asks confirmation before uninstalling my app. I'm almost sure it is not possible, but I'm asking here because maybe some more experienced user can help me. I'm using API level 21+. If my question is not clear or more information is required tell me and I will update this question. Thanks for the help.

Giordo
  • 1
  • 2

2 Answers2

1

It's impossible. The uninstall operation is being performed by the Android system and there's no way to influence the way it performs this task. If this would be possible, everyone would do it and it would cause nothing, but annoyed users.

Felix
  • 824
  • 8
  • 21
0

Its not possible however I did look at this question. I believe this is a possible solution to the problem?

If you can just make a popup window and let the user accept/decline the install/uninstall operation?

install / uninstall APKs programmatically (PackageManager vs Intents)

Community
  • 1
  • 1
SamT01
  • 125
  • 1
  • 14