tags:

views:

1051

answers:

2

Can a package uninstall itself? Can a package uninstall another package if they share the same userId and signature?

+2  A: 

Hi, i've been searching for that for some time, but i haven't found the prove that package could be uninstalled programatically. I use PackageManager public abstract void installPackage (Uri packageURI, IPackageInstallObserver observer, int flags) method to install package.

But according to me when some application can install package, it should have opportunity to uninstall this package. Is this possible in android?

Please help.

Greetings!

+5  A: 

see here for an answer: http://android.amberfog.com/?p=98

spektory