I have created some files through my android application. I want to remove these files when the application is removed from the device. How can I get it done. Any help will be appreciated..
Thanks in advance..
I have created some files through my android application. I want to remove these files when the application is removed from the device. How can I get it done. Any help will be appreciated..
Thanks in advance..
please read the link http://developer.android.com/guide/topics/data/data-storage.html
If you create them in the correct locations, they will be removed automatically.
Check up the storage section of Data Storage section of Dev Guide doc.
If you use those approaches other than external storage, your data will be automatically removed when uninstalling app.