I have pretty unusual task: customer would like to have application which can be self-destructed. Like with one BIG RED MAGIC button, pressing on which should completely destroy (possibly uninstall) application including any DBs, files, traces in logs and so on.
Does someone knows is it really possible, if yes - how?
You can purge application files by enumerating app directory and deleting everything in there plus removing your application files on SD card. Uninstalling application itself is a different beast altogether. Non system apps cannot do that AFAIK (starting from android 2.0?).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With