After uninstalling an application how to delete the residual files the app leaves behind ( programmatically ) Thanks in advance.
Asked
Active
Viewed 1,366 times
0
-
possible duplicate of [How to delete files created by the application on uninstall?](http://stackoverflow.com/questions/1222269/how-to-delete-files-created-by-the-application-on-uninstall) – Narendra Singh Jul 13 '15 at 06:42
1 Answers
1
Resources inside directory of your package name is cleared automatically when uninstalled the app. To delete related sdcard data third party apps give option to remove it Implicitly e.g. Clean master app gives that option.

Nilay Dani
- 896
- 6
- 24
-
thnx but i m asking about how we do programatically don't want any third party application. – Bhanu Sharma Jul 13 '15 at 06:08
-
That is not possible for our own app kindly check that http://stackoverflow.com/a/6209769/3303075 – Nilay Dani Jul 13 '15 at 06:12
-
http://stackoverflow.com/questions/10219328/how-to-show-an-activity-before-my-app-is-uninstalled-android Check this out – Nilay Dani Jul 13 '15 at 06:14